[FFmpeg-cvslog] r21298 - trunk/configure

mru subversion
Mon Jan 18 22:05:12 CET 2010


Author: mru
Date: Mon Jan 18 22:05:12 2010
New Revision: 21298

Log:
configure: simplify $cpu handling for some architectures

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jan 18 22:05:08 2010	(r21297)
+++ trunk/configure	Mon Jan 18 22:05:12 2010	(r21298)
@@ -1881,44 +1881,26 @@ elif enabled sparc; then
 
 elif enabled arm; then
 
-case $cpu in
-    arm11*|cortex*)
-        cpuflags="-mcpu=$cpu"
-    ;;
-    armv[67]*)
-        cpuflags="-march=$cpu"
-    ;;
-    armv*)
-        cpuflags="-march=$cpu"
-    ;;
-    arm*)
-        cpuflags="-mcpu=$cpu"
-    ;;
-esac
+    case $cpu in
+        armv*)
+            cpuflags="-march=$cpu"
+        ;;
+        *)
+            cpuflags="-mcpu=$cpu"
+        ;;
+    esac
 
 elif enabled alpha; then
 
-case $cpu in
-    ev4|ev45|ev5|ev56|pca56|ev6|ev67)
-        enabled ccc && cpuflags="-arch $cpu" || cpuflags="-mcpu=$cpu"
-    ;;
-esac
+    enabled ccc && cpuflags="-arch $cpu" || cpuflags="-mcpu=$cpu"
 
 elif enabled bfin; then
 
-case $cpu in
-    bf*)
-        cpuflags="-mcpu=$cpu"
-    ;;
-esac
+    cpuflags="-mcpu=$cpu"
 
 elif enabled mips; then
 
-case $cpu in
-    mips*|[45]k*|[237]4k*|m4k|r*000|loongson2[ef])
-        cpuflags="-march=$cpu"
-    ;;
-esac
+    cpuflags="-march=$cpu"
 
 elif enabled avr32; then
 



More information about the ffmpeg-cvslog mailing list