Commit fdf88598 authored by Måns Rullgård's avatar Måns Rullgård

fix -lm check

Originally committed as revision 10620 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b6cd8593
...@@ -1217,8 +1217,6 @@ esac ...@@ -1217,8 +1217,6 @@ esac
add_extralibs $osextralibs add_extralibs $osextralibs
check_ldflags -lm
if ! disabled logging ; then if ! disabled logging ; then
enabled logging || logfile="$logging" enabled logging || logfile="$logging"
echo "# $0 $@" >$logfile echo "# $0 $@" >$logfile
...@@ -1547,6 +1545,8 @@ for thread in $THREADS_LIST; do ...@@ -1547,6 +1545,8 @@ for thread in $THREADS_LIST; do
fi fi
done done
check_lib math.h sin -lm
# test for lrintf in math.h # test for lrintf in math.h
check_exec <<EOF && enable lrintf || disable lrintf check_exec <<EOF && enable lrintf || disable lrintf
#define _ISOC9X_SOURCE 1 #define _ISOC9X_SOURCE 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment