mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
hopefully portable endian test
Originally committed as revision 12436 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
768a920572
commit
ccae51d5b9
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user