Diego Biurrun <[email protected]> writes: > 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"; }
This patch is unnecessary. It does exactly the same thing as the existing code in a more complicated way. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
