# HG changeset patch # User diego # Date 1268833314 0 # Node ID c07310d0bb3760d432d3346e746c6290949a587e # Parent cb432a3b5b7591812ad59307b01d33d3784e9aaf Lowercase arch and subarch values. diff -r cb432a3b5b75 -r c07310d0bb37 configure --- a/configure Wed Mar 17 13:37:36 2010 +0000 +++ b/configure Wed Mar 17 13:41:54 2010 +0000 @@ -1769,8 +1769,8 @@ subarch_all='X86_32 X86_64 PPC64' case "$host_arch" in i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) - arch='X86' - subarch='X86_32' + arch='x86' + subarch='x86_32' libavcodec_arch="x86" target_arch="ARCH_X86 = yes" target_subarch="ARCH_X86_32 = yes" @@ -2012,15 +2012,15 @@ ;; ia64) - arch='IA64' + arch='ia64' target_arch='ARCH_IA64 = yes' def_fast_64bit='#define HAVE_FAST_64BIT 1' iproc='ia64' ;; x86_64|amd64) - arch='X86' - subarch='X86_64' + arch='x86' + subarch='x86_64' libavcodec_arch="x86" target_subarch='ARCH_X86_64 = yes' target_arch="ARCH_X86 = yes" @@ -2116,7 +2116,7 @@ ;; sparc|sparc64) - arch='SPARC' + arch='sparc' libavcodec_arch="sparc" target_arch='ARCH_SPARC = yes' iproc='sparc' @@ -2145,14 +2145,14 @@ ;; arm*) - arch='ARM' + arch='arm' libavcodec_arch="arm" target_arch='ARCH_ARM = yes' iproc='arm' ;; avr32) - arch='AVR32' + arch='avr32' libavcodec_arch="avr32" target_arch='ARCH_AVR32 = yes' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' @@ -2161,14 +2161,14 @@ ;; sh|sh4) - arch='SH4' + arch='sh4' libavcodec_arch="sh4" target_arch='ARCH_SH4 = yes' iproc='sh4' ;; ppc|ppc64|powerpc|powerpc64) - arch='PPC' + arch='ppc' def_dcbzl='#define HAVE_DCBZL 0' libavcodec_arch="ppc" target_arch='ARCH_PPC = yes' @@ -2178,7 +2178,7 @@ iproc='ppc' if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then - subarch='PPC64' + subarch='ppc64' target_subarch='ARCH_PPC64 = yes' def_fast_64bit='#define HAVE_FAST_64BIT 1' fi @@ -2287,7 +2287,7 @@ ;; alpha*) - arch='ALPHA' + arch='alpha' libavcodec_arch="alpha" target_arch='ARCH_ALPHA = yes' iproc='alpha' @@ -2331,7 +2331,7 @@ ;; mips) - arch='SGI_MIPS' + arch='sgi_mips' libavcodec_arch="mips" target_arch='ARCH_SGI_MIPS = yes' iproc='sgi-mips' @@ -2359,37 +2359,37 @@ ;; hppa) - arch='PA_RISC' + arch='pa_risc' target_arch='ARCH_PA_RISC = yes' iproc='PA-RISC' ;; s390) - arch='S390' + arch='s390' target_arch='ARCH_S390 = yes' iproc='390' ;; s390x) - arch='S390X' + arch='s390x' target_arch='ARCH_S390X = yes' iproc='390x' ;; vax) - arch='VAX' + arch='vax' target_arch='ARCH_VAX = yes' iproc='vax' ;; xtensa) - arch='XTENSA' + arch='xtensa' target_arch='ARCH_XTENSA = yes' iproc='xtensa' ;; generic) - arch='GENERIC' + arch='generic' target_arch='ARCH_GENERIC = yes' ;;