[MPlayer-cvslog] CVS: main configure,1.1125,1.1126

Diego Biurrun CVS syncmail at mplayerhq.hu
Fri Jan 20 22:15:33 CET 2006


CVS change done by Diego Biurrun CVS

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

Modified Files:
	configure 
Log Message:
AIX compiler CPU-option improvements
patch by Derek E. Lewis < dlewis  &&@&&  solnetworks   &&.&&   net >


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1125
retrieving revision 1.1126
diff -u -r1.1125 -r1.1126
--- configure	20 Jan 2006 00:58:07 -0000	1.1125
+++ configure	20 Jan 2006 21:15:28 -0000	1.1126
@@ -1237,8 +1237,14 @@
 	# gcc 3.3 and up supports POWER4
 	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
 	    case "$proc" in
-		POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4'
-			_def_dcbzl='#undef NO_DCBZL' ;;
+		POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;;
+		*) ;;
+	    esac
+	fi
+	# gcc 4.0 and up supports POWER5
+	if test "$_cc_major" -ge "4"; then
+	    case "$proc" in
+		POWER5) _march='-mcpu=power5' _mcpu='-mtune=power5' ;;
 		*) ;;
 	    esac
 	fi




More information about the MPlayer-cvslog mailing list