On some systems -lm is not required to link against libmath. --- configure | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure b/configure index 0b0d532..c014668 100755 --- a/configure +++ b/configure @@ -2934,9 +2934,10 @@ for thread in $THREADS_LIST; do fi done -check_lib math.h sin -lm && LIBM="-lm" enabled vaapi && require vaapi va/va.h vaInitialize -lva +check_mathfunc sin || { check_lib math.h sin -lm && LIBM="-lm"; } + check_mathfunc cbrtf check_mathfunc exp2 check_mathfunc exp2f -- 1.7.1 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel