[MPlayer-cvslog] r27697 - trunk/configure

diego subversion at mplayerhq.hu
Sat Oct 4 11:38:10 CEST 2008


Author: diego
Date: Sat Oct  4 11:38:10 2008
New Revision: 27697

Log:
Merge SPARC and SPARC64 sections in the CPU detection code.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Oct  4 11:38:10 2008
@@ -1972,11 +1972,14 @@ EOF
     echores "$proc"
     ;;
 
-  sparc)
+  sparc|sparc64)
     _arch='SPARC'
     _target_arch='ARCH_SPARC = yes'
     iproc='sparc'
-    if sunos ; then
+    if test "$host_arch" = "sparc64" ; then
+      _vis='yes'
+      proc='ultrasparc'
+    elif sunos ; then
 	echocheck "CPU type"
 	karch=`uname -m`
 	case "`echo $karch`" in
@@ -1996,16 +1999,6 @@ EOF
     _optimizing="$proc"
     ;;
 
-  sparc64)
-    _arch='SPARC'
-    _target_arch='ARCH_SPARC = yes'
-    _vis='yes'
-    iproc='sparc'
-    proc='ultrasparc'
-    _mcpu="-mcpu=$proc"
-    _optimizing="$proc"
-    ;;
-
   arm|armv4l|armv5tel)
     _arch='ARM ARMV4L'
     _target_arch='ARCH_ARMV4L = yes'



More information about the MPlayer-cvslog mailing list