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 ec68648..7e38c9c 100755 --- a/configure +++ b/configure @@ -2931,9 +2931,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_mathfunc sin -lm && LIBM="-lm"; } + check_mathfunc cbrtf check_mathfunc exp2 check_mathfunc exp2f -- 1.7.2.5 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel