From fdf885983c878e6976a72311c56a0efefa725d11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sat, 29 Sep 2007 20:25:06 +0000
Subject: [PATCH] fix -lm check

Originally committed as revision 10620 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f2d30666192..dc5b2f36c0f 100755
--- 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
-- 
GitLab