Fix order of operands in lrintf test to make the test not fail if you have

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
This commit is contained in:
Diego Pettenò 2006-03-24 01:17:22 +00:00 committed by Diego Biurrun
parent e77ef2755a
commit 9627763483

2
configure vendored
View File

@ -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.