aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-03-13 23:28:57 +0000
committerMåns Rullgård <mans@mansr.com>2008-03-13 23:28:57 +0000
commitd04d9e167eb153e924d7aa6ce41250994d7ab5fd (patch)
tree233b829f254970ff148a8e57ec2f6afd6336520e /configure
parentccae51d5b943108368e6bdf921fd5546f3a1748f (diff)
downloadffmpeg-d04d9e167eb153e924d7aa6ce41250994d7ab5fd.tar.gz
new attempt at portable endian test
Originally committed as revision 12437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 03e38b8457..6af78a7e27 100755
--- a/configure
+++ b/configure
@@ -1565,7 +1565,7 @@ enabled vis && add_cflags "-mcpu=ultrasparc -mtune=ultrasparc"
check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
-od -t x1 $TMPO | grep -q '42 49 47 45' && enable bigendian
+od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
# ---
# check availability of some header files