[MPlayer-cvslog] CVS: main configure,1.1020,1.1021

Guillaume Poirier CVS syncmail at mplayerhq.hu
Thu Jun 9 23:14:40 CEST 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv9312

Modified Files:
	configure 
Log Message:
AMD-64's version of Suse ships a version of 3.3 hacked with broken
backported patches from gcc 3.4, which broke CPU + GCC version detection.
Patch by Corey Hickey < bugfood - ml WOOP fatooh POUM org>


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1020
retrieving revision 1.1021
diff -u -r1.1020 -r1.1021
--- configure	9 Jun 2005 06:58:41 -0000	1.1020
+++ configure	9 Jun 2005 21:14:36 -0000	1.1021
@@ -807,9 +807,9 @@
 	fi
 	;;
     15) iproc=686
-    	# athlon64 cpu-type only supported in gcc >= 3.4.0, but that will be
-    	# caught and remedied in the optimation tests below.
-    	proc=athlon64
+    	# k8 cpu-type only supported in gcc >= 3.4.0, but that will be
+    	# caught and remedied in the optimization tests below.
+    	proc=k8
     	;;
 
     *) proc=athlon-xp iproc=686 ;;
@@ -964,16 +964,15 @@
     _target_arch='TARGET_ARCH_X86_64 = yes'
     iproc='x86_64'
 
-    # athlon64 cpu-type only supported in gcc >= 3.4.0
-    # also, gcc >= 3.4.0  doesn't support -mcpu, we have to use -mtune instead
+    # gcc >= 3.4.0  doesn't support -mcpu, we have to use -mtune instead
     if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then
-    	proc=athlon64
 	cpuopt=-mtune
     else
-    	proc=athlon-xp
 	cpuopt=-mcpu
     fi
-
+    # k8 cpu-type only supported in gcc >= 3.4.0, but that will be
+    # caught and remedied in the optimization tests below.
+    proc=k8
 
     echocheck "GCC & CPU optimization abilities"
 cat > $TMPC << EOF




More information about the MPlayer-cvslog mailing list