[Mplayer-cvslog] CVS: main configure,1.739,1.740

Alex Beregszaszi alex at mplayerhq.hu
Mon Jul 28 00:55:57 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv14218

Modified Files:
	configure 
Log Message:
gcc2.95.x has no support for mvi instructions

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.739
retrieving revision 1.740
diff -u -r1.739 -r1.740
--- configure	26 Jul 2003 22:55:37 -0000	1.739
+++ configure	27 Jul 2003 22:54:57 -0000	1.740
@@ -919,6 +919,15 @@
     fi
     _mcpu="-mcpu=$proc"
     echores "$proc"
+
+    echocheck "MVI instruction support in GCC"
+    if test "$_cc_major" -ge "3"; then
+    	_def_gcc_mvi_support="#define CAN_COMPILE_ALPHA_MVI 1"
+	echores "yes"
+    else
+	_def_gcc_mvi_support="#undef CAN_COMPILE_ALPHA_MVI"
+	echores "no"
+    fi
     ;;
 
   mips)
@@ -5787,6 +5796,9 @@
 #ifdef ARCH_ARMV4L
 #define ARCH_ARM 1
 #endif
+
+/* only gcc3 can compile mvi instructions */
+$_def_gcc_mvi_support
 
 /* Define this for Cygwin build for win32 */
 $_def_confwin32



More information about the MPlayer-cvslog mailing list