projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9b7bf3c
)
cross compile fix by (allanc at chickenandporn dot com)
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Aug 2004 00:59:48 +0000
(
00:59
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Aug 2004 00:59:48 +0000
(
00:59
+0000)
Originally committed as revision 3384 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
b45afb9
..
7cfa505
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-799,7
+799,11
@@
EOF
have_lrintf="no"
if $cc $extralibs -o $TMPE $TMPC 2> /dev/null ; then
have_lrintf="yes"
- $TMPE 2> /dev/null > /dev/null || have_lrintf="no"
+ # 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=