comparison configure @ 30880:c07310d0bb37

Lowercase arch and subarch values.
author diego
date Wed, 17 Mar 2010 13:41:54 +0000
parents cb432a3b5b75
children 256ba4151d33
comparison
equal deleted inserted replaced
30879:cb432a3b5b75 30880:c07310d0bb37
1767 def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 0' 1767 def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 0'
1768 arch_all='X86 IA64 SPARC ARM AVR32 SH4 PPC ALPHA MIPS SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA TOMI GENERIC' 1768 arch_all='X86 IA64 SPARC ARM AVR32 SH4 PPC ALPHA MIPS SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA TOMI GENERIC'
1769 subarch_all='X86_32 X86_64 PPC64' 1769 subarch_all='X86_32 X86_64 PPC64'
1770 case "$host_arch" in 1770 case "$host_arch" in
1771 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) 1771 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
1772 arch='X86' 1772 arch='x86'
1773 subarch='X86_32' 1773 subarch='x86_32'
1774 libavcodec_arch="x86" 1774 libavcodec_arch="x86"
1775 target_arch="ARCH_X86 = yes" 1775 target_arch="ARCH_X86 = yes"
1776 target_subarch="ARCH_X86_32 = yes" 1776 target_subarch="ARCH_X86_32 = yes"
1777 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 1777 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
1778 def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' 1778 def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
2010 2010
2011 echores "$proc" 2011 echores "$proc"
2012 ;; 2012 ;;
2013 2013
2014 ia64) 2014 ia64)
2015 arch='IA64' 2015 arch='ia64'
2016 target_arch='ARCH_IA64 = yes' 2016 target_arch='ARCH_IA64 = yes'
2017 def_fast_64bit='#define HAVE_FAST_64BIT 1' 2017 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2018 iproc='ia64' 2018 iproc='ia64'
2019 ;; 2019 ;;
2020 2020
2021 x86_64|amd64) 2021 x86_64|amd64)
2022 arch='X86' 2022 arch='x86'
2023 subarch='X86_64' 2023 subarch='x86_64'
2024 libavcodec_arch="x86" 2024 libavcodec_arch="x86"
2025 target_subarch='ARCH_X86_64 = yes' 2025 target_subarch='ARCH_X86_64 = yes'
2026 target_arch="ARCH_X86 = yes" 2026 target_arch="ARCH_X86 = yes"
2027 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2027 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2028 def_fast_64bit='#define HAVE_FAST_64BIT 1' 2028 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2114 2114
2115 echores "$proc" 2115 echores "$proc"
2116 ;; 2116 ;;
2117 2117
2118 sparc|sparc64) 2118 sparc|sparc64)
2119 arch='SPARC' 2119 arch='sparc'
2120 libavcodec_arch="sparc" 2120 libavcodec_arch="sparc"
2121 target_arch='ARCH_SPARC = yes' 2121 target_arch='ARCH_SPARC = yes'
2122 iproc='sparc' 2122 iproc='sparc'
2123 if test "$host_arch" = "sparc64" ; then 2123 if test "$host_arch" = "sparc64" ; then
2124 _vis='yes' 2124 _vis='yes'
2143 _mcpu="-mcpu=$proc" 2143 _mcpu="-mcpu=$proc"
2144 _optimizing="$proc" 2144 _optimizing="$proc"
2145 ;; 2145 ;;
2146 2146
2147 arm*) 2147 arm*)
2148 arch='ARM' 2148 arch='arm'
2149 libavcodec_arch="arm" 2149 libavcodec_arch="arm"
2150 target_arch='ARCH_ARM = yes' 2150 target_arch='ARCH_ARM = yes'
2151 iproc='arm' 2151 iproc='arm'
2152 ;; 2152 ;;
2153 2153
2154 avr32) 2154 avr32)
2155 arch='AVR32' 2155 arch='avr32'
2156 libavcodec_arch="avr32" 2156 libavcodec_arch="avr32"
2157 target_arch='ARCH_AVR32 = yes' 2157 target_arch='ARCH_AVR32 = yes'
2158 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2158 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2159 iproc='avr32' 2159 iproc='avr32'
2160 test $_fast_clz = "auto" && _fast_clz=yes 2160 test $_fast_clz = "auto" && _fast_clz=yes
2161 ;; 2161 ;;
2162 2162
2163 sh|sh4) 2163 sh|sh4)
2164 arch='SH4' 2164 arch='sh4'
2165 libavcodec_arch="sh4" 2165 libavcodec_arch="sh4"
2166 target_arch='ARCH_SH4 = yes' 2166 target_arch='ARCH_SH4 = yes'
2167 iproc='sh4' 2167 iproc='sh4'
2168 ;; 2168 ;;
2169 2169
2170 ppc|ppc64|powerpc|powerpc64) 2170 ppc|ppc64|powerpc|powerpc64)
2171 arch='PPC' 2171 arch='ppc'
2172 def_dcbzl='#define HAVE_DCBZL 0' 2172 def_dcbzl='#define HAVE_DCBZL 0'
2173 libavcodec_arch="ppc" 2173 libavcodec_arch="ppc"
2174 target_arch='ARCH_PPC = yes' 2174 target_arch='ARCH_PPC = yes'
2175 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2175 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2176 def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' 2176 def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
2177 def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1' 2177 def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1'
2178 iproc='ppc' 2178 iproc='ppc'
2179 2179
2180 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then 2180 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
2181 subarch='PPC64' 2181 subarch='ppc64'
2182 target_subarch='ARCH_PPC64 = yes' 2182 target_subarch='ARCH_PPC64 = yes'
2183 def_fast_64bit='#define HAVE_FAST_64BIT 1' 2183 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2184 fi 2184 fi
2185 echocheck "CPU type" 2185 echocheck "CPU type"
2186 case $system_name in 2186 case $system_name in
2285 test $_fast_clz = "auto" && _fast_clz=yes 2285 test $_fast_clz = "auto" && _fast_clz=yes
2286 2286
2287 ;; 2287 ;;
2288 2288
2289 alpha*) 2289 alpha*)
2290 arch='ALPHA' 2290 arch='alpha'
2291 libavcodec_arch="alpha" 2291 libavcodec_arch="alpha"
2292 target_arch='ARCH_ALPHA = yes' 2292 target_arch='ARCH_ALPHA = yes'
2293 iproc='alpha' 2293 iproc='alpha'
2294 2294
2295 echocheck "CPU type" 2295 echocheck "CPU type"
2329 2329
2330 _optimizing="$proc" 2330 _optimizing="$proc"
2331 ;; 2331 ;;
2332 2332
2333 mips) 2333 mips)
2334 arch='SGI_MIPS' 2334 arch='sgi_mips'
2335 libavcodec_arch="mips" 2335 libavcodec_arch="mips"
2336 target_arch='ARCH_SGI_MIPS = yes' 2336 target_arch='ARCH_SGI_MIPS = yes'
2337 iproc='sgi-mips' 2337 iproc='sgi-mips'
2338 2338
2339 if irix ; then 2339 if irix ; then
2357 test $_fast_clz = "auto" && _fast_clz=yes 2357 test $_fast_clz = "auto" && _fast_clz=yes
2358 2358
2359 ;; 2359 ;;
2360 2360
2361 hppa) 2361 hppa)
2362 arch='PA_RISC' 2362 arch='pa_risc'
2363 target_arch='ARCH_PA_RISC = yes' 2363 target_arch='ARCH_PA_RISC = yes'
2364 iproc='PA-RISC' 2364 iproc='PA-RISC'
2365 ;; 2365 ;;
2366 2366
2367 s390) 2367 s390)
2368 arch='S390' 2368 arch='s390'
2369 target_arch='ARCH_S390 = yes' 2369 target_arch='ARCH_S390 = yes'
2370 iproc='390' 2370 iproc='390'
2371 ;; 2371 ;;
2372 2372
2373 s390x) 2373 s390x)
2374 arch='S390X' 2374 arch='s390x'
2375 target_arch='ARCH_S390X = yes' 2375 target_arch='ARCH_S390X = yes'
2376 iproc='390x' 2376 iproc='390x'
2377 ;; 2377 ;;
2378 2378
2379 vax) 2379 vax)
2380 arch='VAX' 2380 arch='vax'
2381 target_arch='ARCH_VAX = yes' 2381 target_arch='ARCH_VAX = yes'
2382 iproc='vax' 2382 iproc='vax'
2383 ;; 2383 ;;
2384 2384
2385 xtensa) 2385 xtensa)
2386 arch='XTENSA' 2386 arch='xtensa'
2387 target_arch='ARCH_XTENSA = yes' 2387 target_arch='ARCH_XTENSA = yes'
2388 iproc='xtensa' 2388 iproc='xtensa'
2389 ;; 2389 ;;
2390 2390
2391 generic) 2391 generic)
2392 arch='GENERIC' 2392 arch='generic'
2393 target_arch='ARCH_GENERIC = yes' 2393 target_arch='ARCH_GENERIC = yes'
2394 ;; 2394 ;;
2395 2395
2396 *) 2396 *)
2397 echo "The architecture of your CPU ($host_arch) is not supported by this configure script" 2397 echo "The architecture of your CPU ($host_arch) is not supported by this configure script"