[FFmpeg-cvslog] r21300 - trunk/configure

mru subversion
Mon Jan 18 22:32:57 CET 2010


Author: mru
Date: Mon Jan 18 22:32:57 2010
New Revision: 21300

Log:
configure: fix cpu=generic case

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jan 18 22:22:09 2010	(r21299)
+++ trunk/configure	Mon Jan 18 22:32:57 2010	(r21300)
@@ -1815,7 +1815,9 @@ is_in $arch $ARCH_LIST || echo "WARNING:
 enable $arch
 
 # Add processor-specific flags
-if enabled ppc; then
+if test "$cpu" = generic; then
+    : do nothing
+elif enabled ppc; then
 
     case $cpu in
         601|ppc601|PowerPC601)
@@ -1923,12 +1925,6 @@ elif enabled avr32; then
         ;;
     esac
 
-else
-
-    if test "$cpu" != generic; then
-        echo "WARNING: Unknown CPU \"$cpu\", ignored."
-    fi
-
 fi
 
 add_cflags $cpuflags



More information about the ffmpeg-cvslog mailing list