Mercurial > mplayer.hg
comparison configure @ 29399:d62dcefa6fcc
Set both HAVE_BIGENDIAN and WORDS_BIGENDIAN.
Both definitions are used in different places.
author | diego |
---|---|
date | Sun, 26 Jul 2009 17:43:06 +0000 |
parents | 039160a7054b |
children | 0556a31731b1 |
comparison
equal
deleted
inserted
replaced
29398:039160a7054b | 29399:d62dcefa6fcc |
---|---|
2359 echo ${_echo_n} "failed to autodetect byte order, defaulting to ${_echo_c}" | 2359 echo ${_echo_n} "failed to autodetect byte order, defaulting to ${_echo_c}" |
2360 fi | 2360 fi |
2361 fi | 2361 fi |
2362 if test "$_big_endian" = yes ; then | 2362 if test "$_big_endian" = yes ; then |
2363 _byte_order='big-endian' | 2363 _byte_order='big-endian' |
2364 def_words_endian='#define HAVE_BIGENDIAN 1' | 2364 def_words_endian='#define WORDS_BIGENDIAN 1' |
2365 def_bigendian='#define HAVE_BIGENDIAN 1' | |
2365 else | 2366 else |
2366 _byte_order='little-endian' | 2367 _byte_order='little-endian' |
2367 def_words_endian='#define HAVE_BIGENDIAN 0' | 2368 def_words_endian='#undef WORDS_BIGENDIAN' |
2369 def_bigendian='#define HAVE_BIGENDIAN 0' | |
2368 fi | 2370 fi |
2369 echores "$_byte_order" | 2371 echores "$_byte_order" |
2370 | 2372 |
2371 | 2373 |
2372 echocheck "extern symbol prefix" | 2374 echocheck "extern symbol prefix" |
8580 | 8582 |
8581 | 8583 |
8582 /* CPU stuff */ | 8584 /* CPU stuff */ |
8583 #define __CPU__ $iproc | 8585 #define __CPU__ $iproc |
8584 $def_words_endian | 8586 $def_words_endian |
8587 $def_bigendian | |
8585 $(ff_config_enable "$_arch_all" "$_arch" "ARCH") | 8588 $(ff_config_enable "$_arch_all" "$_arch" "ARCH") |
8586 $(ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE") | 8589 $(ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE") |
8587 | 8590 |
8588 | 8591 |
8589 /* DVD/VCD/CD */ | 8592 /* DVD/VCD/CD */ |