[MPlayer-cvslog] CVS: main configure,1.998,1.999

Nicolas Plourde CVS syncmail at mplayerhq.hu
Tue May 10 02:54:51 CEST 2005


CVS change done by Nicolas Plourde CVS

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

Modified Files:
	configure 
Log Message:
mcpu & mtune work on gcc4

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.998
retrieving revision 1.999
diff -u -r1.998 -r1.999
--- configure	10 May 2005 00:38:46 -0000	1.998
+++ configure	10 May 2005 00:54:48 -0000	1.999
@@ -1059,7 +1059,7 @@
     	    *) ;;
         esac
 	# gcc 3.1(.1) and up supports 7400 and 7450
-	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1"; then
+	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1" || test "$_cc_major" -ge "4"; then
 	    case "$proc" in
 		7400*|7410*) _march='-mcpu=7400' _mcpu='-mtune=7400' ;;
 		7450*|7455*) _march='-mcpu=7450' _mcpu='-mtune=7450' ;;
@@ -1067,7 +1067,7 @@
     	    esac
 	fi
 	# gcc 3.2 and up supports 970
-	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
+	if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
 	    case "$proc" in
 		970*) _march='-mcpu=970' _mcpu='-mtune=970'
                       _def_dcbzl='#undef NO_DCBZL' ;;




More information about the MPlayer-cvslog mailing list