0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

cosmetics: Drop leading underscores from arch variables.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30915 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-03-17 10:10:47 +00:00
parent 11eeaf5005
commit 43ccbad38c

80
configure vendored
View File

@ -1765,12 +1765,12 @@ def_fast_64bit='#define HAVE_FAST_64BIT 0'
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 0' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 0'
def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 0' def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 0'
def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 0' def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 0'
_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM AVR32 SH4 PPC PPC64 ALPHA MIPS SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA TOMI GENERIC' arch_all='X86 X86_32 X86_64 IA64 SPARC ARM AVR32 SH4 PPC PPC64 ALPHA MIPS SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA TOMI GENERIC'
case "$host_arch" in case "$host_arch" in
i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
_arch='X86 X86_32' arch='X86 X86_32'
_target_arch="ARCH_X86 = yes" target_arch="ARCH_X86 = yes"
_target_subarch="ARCH_X86_32 = yes" target_subarch="ARCH_X86_32 = yes"
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1' def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1'
@ -2009,16 +2009,16 @@ EOF
;; ;;
ia64) ia64)
_arch='IA64' arch='IA64'
_target_arch='ARCH_IA64 = yes' target_arch='ARCH_IA64 = yes'
def_fast_64bit='#define HAVE_FAST_64BIT 1' def_fast_64bit='#define HAVE_FAST_64BIT 1'
iproc='ia64' iproc='ia64'
;; ;;
x86_64|amd64) x86_64|amd64)
_arch='X86 X86_64' arch='X86 X86_64'
_target_subarch='ARCH_X86_64 = yes' target_subarch='ARCH_X86_64 = yes'
_target_arch="ARCH_X86 = yes" target_arch="ARCH_X86 = yes"
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
def_fast_64bit='#define HAVE_FAST_64BIT 1' def_fast_64bit='#define HAVE_FAST_64BIT 1'
iproc='x86_64' iproc='x86_64'
@ -2111,8 +2111,8 @@ EOF
;; ;;
sparc|sparc64) sparc|sparc64)
_arch='SPARC' arch='SPARC'
_target_arch='ARCH_SPARC = yes' target_arch='ARCH_SPARC = yes'
iproc='sparc' iproc='sparc'
if test "$host_arch" = "sparc64" ; then if test "$host_arch" = "sparc64" ; then
_vis='yes' _vis='yes'
@ -2139,37 +2139,37 @@ EOF
;; ;;
arm*) arm*)
_arch='ARM' arch='ARM'
_target_arch='ARCH_ARM = yes' target_arch='ARCH_ARM = yes'
iproc='arm' iproc='arm'
;; ;;
avr32) avr32)
_arch='AVR32' arch='AVR32'
_target_arch='ARCH_AVR32 = yes' target_arch='ARCH_AVR32 = yes'
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc='avr32' iproc='avr32'
test $_fast_clz = "auto" && _fast_clz=yes test $_fast_clz = "auto" && _fast_clz=yes
;; ;;
sh|sh4) sh|sh4)
_arch='SH4' arch='SH4'
_target_arch='ARCH_SH4 = yes' target_arch='ARCH_SH4 = yes'
iproc='sh4' iproc='sh4'
;; ;;
ppc|ppc64|powerpc|powerpc64) ppc|ppc64|powerpc|powerpc64)
_arch='PPC' arch='PPC'
def_dcbzl='#define HAVE_DCBZL 0' def_dcbzl='#define HAVE_DCBZL 0'
_target_arch='ARCH_PPC = yes' target_arch='ARCH_PPC = yes'
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1' def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1'
iproc='ppc' iproc='ppc'
if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
_arch='PPC PPC64' arch='PPC PPC64'
_target_subarch='ARCH_PPC64 = yes' target_subarch='ARCH_PPC64 = yes'
def_fast_64bit='#define HAVE_FAST_64BIT 1' def_fast_64bit='#define HAVE_FAST_64BIT 1'
fi fi
echocheck "CPU type" echocheck "CPU type"
@ -2277,8 +2277,8 @@ EOF
;; ;;
alpha*) alpha*)
_arch='ALPHA' arch='ALPHA'
_target_arch='ARCH_ALPHA = yes' target_arch='ARCH_ALPHA = yes'
iproc='alpha' iproc='alpha'
echocheck "CPU type" echocheck "CPU type"
@ -2320,8 +2320,8 @@ EOF
;; ;;
mips) mips)
_arch='SGI_MIPS' arch='SGI_MIPS'
_target_arch='ARCH_SGI_MIPS = yes' target_arch='ARCH_SGI_MIPS = yes'
iproc='sgi-mips' iproc='sgi-mips'
if irix ; then if irix ; then
@ -2347,38 +2347,38 @@ EOF
;; ;;
hppa) hppa)
_arch='PA_RISC' arch='PA_RISC'
_target_arch='ARCH_PA_RISC = yes' target_arch='ARCH_PA_RISC = yes'
iproc='PA-RISC' iproc='PA-RISC'
;; ;;
s390) s390)
_arch='S390' arch='S390'
_target_arch='ARCH_S390 = yes' target_arch='ARCH_S390 = yes'
iproc='390' iproc='390'
;; ;;
s390x) s390x)
_arch='S390X' arch='S390X'
_target_arch='ARCH_S390X = yes' target_arch='ARCH_S390X = yes'
iproc='390x' iproc='390x'
;; ;;
vax) vax)
_arch='VAX' arch='VAX'
_target_arch='ARCH_VAX = yes' target_arch='ARCH_VAX = yes'
iproc='vax' iproc='vax'
;; ;;
xtensa) xtensa)
_arch='XTENSA' arch='XTENSA'
_target_arch='ARCH_XTENSA = yes' target_arch='ARCH_XTENSA = yes'
iproc='xtensa' iproc='xtensa'
;; ;;
generic) generic)
_arch='GENERIC' arch='GENERIC'
_target_arch='ARCH_GENERIC = yes' target_arch='ARCH_GENERIC = yes'
;; ;;
*) *)
@ -8488,8 +8488,8 @@ TIMER = $_timer
EXESUF = $_exesuf EXESUF = $_exesuf
EXESUFS_ALL = .exe EXESUFS_ALL = .exe
$_target_arch $target_arch
$_target_subarch $target_subarch
$(echo $_cpuexts | tr '[a-z] ' '[A-Z]\n' | sed 's/^/HAVE_/;s/$/=yes/') $(echo $_cpuexts | tr '[a-z] ' '[A-Z]\n' | sed 's/^/HAVE_/;s/$/=yes/')
MENCODER = $_mencoder MENCODER = $_mencoder
@ -8907,7 +8907,7 @@ $def_pthread_cache
#define __CPU__ $iproc #define __CPU__ $iproc
$def_words_endian $def_words_endian
$def_bigendian $def_bigendian
$(ff_config_enable "$_arch_all" "$_arch" "ARCH") $(ff_config_enable "$arch_all" "$arch" "ARCH")
$(ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE") $(ff_config_enable "$_cpuexts_all" "$_cpuexts" "HAVE")