OSDN Git Service

fix endian detection on MacOS
authorMåns Rullgård <mans@mansr.com>
Sun, 26 Aug 2007 09:08:21 +0000 (09:08 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 26 Aug 2007 09:08:21 +0000 (09:08 +0000)
Originally committed as revision 10232 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index b360b8a..c584694 100755 (executable)
--- a/configure
+++ b/configure
@@ -1508,7 +1508,7 @@ EOF
 check_cc <<EOF || die "endian test failed"
 unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
 EOF
-strings $TMPO | grep -q BIGE && enable bigendian
+strings $TMPO | grep -q BIGE && enable bigendian
 
 # ---
 # check availability of some header files