cross compile fix by (allanc at chickenandporn dot com)

Originally committed as revision 3384 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-08-13 00:59:48 +00:00
parent 9b7bf3c866
commit c2b9685eca

4
configure vendored
View File

@ -799,8 +799,12 @@ EOF
have_lrintf="no"
if $cc $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.
if test -z "$cross_prefix" ; then
$TMPE 2> /dev/null > /dev/null || have_lrintf="no"
fi
fi
_restrict=
for restrict_keyword in restrict __restrict__ __restrict; do