fix endian detection on MacOS

Originally committed as revision 10232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-08-26 09:08:21 +00:00
parent c90762766a
commit 0828e47642

2
configure vendored
View file

@ -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