comparison configure @ 32216:e3942e3b3920

cosmetics: Drop a bunch of unnecessary parentheses from big-endian check.
author diego
date Sat, 18 Sep 2010 09:52:08 +0000
parents 37bf4af10f1b
children e9e3137f8b43
comparison
equal deleted inserted replaced
32215:37bf4af10f1b 32216:e3942e3b3920
2457 # endian testing 2457 # endian testing
2458 echocheck "byte order" 2458 echocheck "byte order"
2459 if test "$_big_endian" = auto ; then 2459 if test "$_big_endian" = auto ; then
2460 cat > $TMPC <<EOF 2460 cat > $TMPC <<EOF
2461 short ascii_name[] = { 2461 short ascii_name[] = {
2462 (('M' << 8) | 'P'), (('l' << 8) | 'a'), (('y' << 8) | 'e'), 2462 'M' << 8 | 'P', 'l' << 8 | 'a', 'y' << 8 | 'e', 'r' << 8 | 'B',
2463 (('r' << 8) | 'B'), (('i' << 8) | 'g'), (('E' << 8) | 'n'), 2463 'i' << 8 | 'g', 'E' << 8 | 'n', 'd' << 8 | 'i', 'a' << 8 | 'n', 0 };
2464 (('d' << 8) | 'i'), (('a' << 8) | 'n'), 0 };
2465 int main(void) { return (long)ascii_name; } 2464 int main(void) { return (long)ascii_name; }
2466 EOF 2465 EOF
2467 if cc_check ; then 2466 if cc_check ; then
2468 if strings $TMPEXE | grep -q -l MPlayerBigEndian ; then 2467 if strings $TMPEXE | grep -q -l MPlayerBigEndian ; then
2469 _big_endian=yes 2468 _big_endian=yes