projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768a920
)
hopefully portable endian test
author
Måns Rullgård
<mans@mansr.com>
Thu, 13 Mar 2008 22:46:34 +0000
(22:46 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Thu, 13 Mar 2008 22:46:34 +0000
(22:46 +0000)
Originally committed as revision 12436 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
afcdca5
..
03e38b8
100755
(executable)
--- 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
-
tr -c -d BIGE < $TMPO | grep -q BIGE
&& enable bigendian
+
od -t x1 $TMPO | grep -q '42 49 47 45'
&& enable bigendian
# ---
# check availability of some header files