Fix order of operands in lrintf test to make the test not fail if you have
authorDiego Pettenò <flameeyes@gmail.com>
Fri, 24 Mar 2006 01:17:22 +0000 (01:17 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 24 Mar 2006 01:17:22 +0000 (01:17 +0000)
a strict compile/linker that accepts arguments just in the canonical order.
patch by Diego Pettenò, flameeyes.. at ..gentoo.. dot ..org

Originally committed as revision 5205 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index c2009d4..7991f1a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1073,7 +1073,7 @@ int main( void ) { return (lrintf(3.999f) > 0)?0:1; }
 EOF
 
 have_lrintf="no"
-if $cc $CFLAGS $LDFLAGS $extralibs -o $TMPE $TMPC 2> /dev/null ; then
+if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC $extralibs 2> /dev/null ; then
   have_lrintf="yes"
   # allanc@chickenandporn.com: cannot execute cross-compiled
   # code on the host.  Only execute if not cross-compiling.