aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 47c9a1c4f8..0b0b33fad4 100755
--- a/configure
+++ b/configure
@@ -5949,14 +5949,15 @@ echores "$_ftp"
echocheck "byte order"
if test "$_big_endian" = auto ; then
cat > $TMPC <<EOF
-short asci_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|0)};
+short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
+ (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
int main(){
- char* s = (char*)asci_name;
+ char* s = (char*)ascii_name;
return 0;
}
EOF
if cc_check ; then
- if test `grep -l MPlayer $TMPO` ; then
+ if test `grep -l MPlayerBigEndian $TMPO` ; then
_big_endian=yes
else
_big_endian=no