projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccae51d
)
new attempt at portable endian test
author
Måns Rullgård
<mans@mansr.com>
Thu, 13 Mar 2008 23:28:57 +0000
(23:28 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Thu, 13 Mar 2008 23:28:57 +0000
(23:28 +0000)
Originally committed as revision 12437 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 03e38b8457e75751fc1a3ea28fcde762a9065352..6af78a7e27b3ff4bd14caf3ca31c464792507c51 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
-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