1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

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 EOF
have_lrintf="no" 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" have_lrintf="yes"
# allanc@chickenandporn.com: cannot execute cross-compiled # allanc@chickenandporn.com: cannot execute cross-compiled
# code on the host. Only execute if not cross-compiling. # code on the host. Only execute if not cross-compiling.