[MPlayer-cvslog] CVS: main configure,1.1006,1.1007

Guillaume Poirier CVS syncmail at mplayerhq.hu
Sat May 28 17:25:13 CEST 2005


CVS change done by Guillaume Poirier CVS

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

Modified Files:
	configure 
Log Message:
support for AMD64 compiler optimizations flags in 32-bit mode.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1006
retrieving revision 1.1007
diff -u -r1.1006 -r1.1007
--- configure	27 May 2005 11:14:22 -0000	1.1006
+++ configure	28 May 2005 15:25:10 -0000	1.1007
@@ -801,7 +801,12 @@
 		proc=athlon # TODO: should the Duron Spitfire be considered a Thunderbird instead?
 	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
+    	;;
+
     *) proc=athlon-xp iproc=686 ;;
     esac
     ;;
@@ -857,6 +862,9 @@
 int main(void) { return 0; }
 EOF
   if test "$_runtime_cpudetection" = no ; then
+    if test "$proc" = "k8" -o "$proc" = "opteron" -o "$proc" = "athlon64" -o "$proc" = "athlon-fx" ; then
+      cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
+    fi
     if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" || test "$proc" = "athlon-tbird"; then
       cc_check -march=$proc $cpuopt=$proc || proc=athlon
     fi




More information about the MPlayer-cvslog mailing list