OSDN Git Service

fix -lm check
authorMåns Rullgård <mans@mansr.com>
Sat, 29 Sep 2007 20:25:06 +0000 (20:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 29 Sep 2007 20:25:06 +0000 (20:25 +0000)
Originally committed as revision 10620 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f2d3066..dc5b2f3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1217,8 +1217,6 @@ esac
 
 add_extralibs $osextralibs
 
-check_ldflags -lm
-
 if ! disabled logging ; then
     enabled logging || logfile="$logging"
     echo "# $0 $@" >$logfile
@@ -1547,6 +1545,8 @@ for thread in $THREADS_LIST; do
     fi
 done
 
+check_lib math.h sin -lm
+
 # test for lrintf in math.h
 check_exec <<EOF && enable lrintf || disable lrintf
 #define _ISOC9X_SOURCE  1