From: "Ronald S. Bultje" <[email protected]>
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index da60e8e..ebc6310 100755
--- a/configure
+++ b/configure
@@ -2943,7 +2943,9 @@ for thread in $THREADS_LIST; do
fi
done
-check_lib math.h sin -lm && LIBM="-lm"
+if ! check_func_headers math.h sin; then
+ check_lib math.h sin -lm && LIBM="-lm"
+fi
enabled vaapi && require vaapi va/va.h vaInitialize -lva
check_mathfunc cbrtf
--
1.7.9.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel