Commit 352932de authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent afdae109
...@@ -1073,7 +1073,7 @@ int main( void ) { return (lrintf(3.999f) > 0)?0:1; } ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment