changeset 30881:256ba4151d33

Drop libavcodec_arch hack; ARCH can now be set directly in config.mak.
author diego
date Wed, 17 Mar 2010 13:55:59 +0000
parents c07310d0bb37
children a5c190c3ce4d
files configure
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Mar 17 13:41:54 2010 +0000
+++ b/configure	Wed Mar 17 13:55:59 2010 +0000
@@ -1771,7 +1771,6 @@
   i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
   arch='x86'
   subarch='x86_32'
-  libavcodec_arch="x86"
   target_arch="ARCH_X86 = yes"
   target_subarch="ARCH_X86_32 = yes"
   def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
@@ -2021,7 +2020,6 @@
   x86_64|amd64)
     arch='x86'
     subarch='x86_64'
-    libavcodec_arch="x86"
     target_subarch='ARCH_X86_64 = yes'
     target_arch="ARCH_X86 = yes"
     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
@@ -2117,7 +2115,6 @@
 
   sparc|sparc64)
     arch='sparc'
-    libavcodec_arch="sparc"
     target_arch='ARCH_SPARC = yes'
     iproc='sparc'
     if test "$host_arch" = "sparc64" ; then
@@ -2146,14 +2143,12 @@
 
   arm*)
     arch='arm'
-    libavcodec_arch="arm"
     target_arch='ARCH_ARM = yes'
     iproc='arm'
     ;;
 
   avr32)
     arch='avr32'
-    libavcodec_arch="avr32"
     target_arch='ARCH_AVR32 = yes'
     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
     iproc='avr32'
@@ -2162,7 +2157,6 @@
 
   sh|sh4)
     arch='sh4'
-    libavcodec_arch="sh4"
     target_arch='ARCH_SH4 = yes'
     iproc='sh4'
     ;;
@@ -2170,7 +2164,6 @@
   ppc|ppc64|powerpc|powerpc64)
     arch='ppc'
     def_dcbzl='#define HAVE_DCBZL 0'
-    libavcodec_arch="ppc"
     target_arch='ARCH_PPC = yes'
     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
     def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
@@ -2288,7 +2281,6 @@
 
   alpha*)
     arch='alpha'
-    libavcodec_arch="alpha"
     target_arch='ARCH_ALPHA = yes'
     iproc='alpha'
 
@@ -2332,7 +2324,6 @@
 
   mips)
     arch='sgi_mips'
-    libavcodec_arch="mips"
     target_arch='ARCH_SGI_MIPS = yes'
     iproc='sgi-mips'
 
@@ -8500,8 +8491,8 @@
 EXESUF = $_exesuf
 EXESUFS_ALL = .exe
 
+ARCH = $arch
 $target_arch
-ARCH = $libavcodec_arch
 $target_subarch
 $(echo $cpuexts | tr '[a-z] ' '[A-Z]\n' | sed 's/^/HAVE_/;s/$/=yes/')