From 61c110fc3112b0277ca870f3d6fd5e8bf035da99 Mon Sep 17 00:00:00 2001 From: Patrice Bensoussan Date: Sat, 22 Oct 2005 19:17:39 +0000 Subject: [PATCH] Fix lrintf detection when extra libs are not installed in a standard location. patch by Patrice Bensoussan patrice = dot = bensoussan = at = gmail = dot = com Originally committed as revision 4658 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6fd3ae86186..c3cf948bcb3 100755 --- a/configure +++ b/configure @@ -985,7 +985,7 @@ int main( void ) { return (lrintf(3.999f) > 0)?0:1; } EOF have_lrintf="no" -if $cc $extralibs -o $TMPE $TMPC 2> /dev/null ; then +if $cc $CFLAGS $LDFLAGS $extralibs -o $TMPE $TMPC 2> /dev/null ; then have_lrintf="yes" # allanc@chickenandporn.com: cannot execute cross-compiled # code on the host. Only execute if not cross-compiling. -- 2.39.2