[MPlayer-cvslog] r34062 - trunk/configure

reimar subversion at mplayerhq.hu
Mon Sep 5 23:55:40 CEST 2011


Author: reimar
Date: Mon Sep  5 23:55:40 2011
New Revision: 34062

Log:
Simplify checking for ppc or ppc64 using wildcards.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Sep  5 20:43:01 2011	(r34061)
+++ trunk/configure	Mon Sep  5 23:55:40 2011	(r34062)
@@ -248,7 +248,7 @@ x86() {
 
 ppc() {
   case "$host_arch" in
-    ppc|ppc64|powerpc|powerpc64) return 0;;
+    ppc*|powerpc*) return 0;;
     *) return 1;;
   esac
 }
@@ -1465,7 +1465,7 @@ if test -z "$_target" ; then
   case "$(uname -m 2>&1)" in
       x86_64|amd64|i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;;
       ia64) host_arch=ia64 ;;
-      macppc|ppc|ppc64|Power*) host_arch=ppc ;;
+      macppc|ppc*|Power*) host_arch=ppc ;;
       alpha) host_arch=alpha ;;
       sparc) host_arch=sparc ;;
       sparc64) host_arch=sparc64 ;;
@@ -2229,7 +2229,7 @@ case "$host_arch" in
     iproc='sh4'
     ;;
 
-  ppc|ppc64|powerpc|powerpc64)
+  ppc*|powerpc*)
     arch='ppc'
     def_dcbzl='#define HAVE_DCBZL 0'
     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'


More information about the MPlayer-cvslog mailing list