[Mplayer-cvslog] CVS: main configure,1.846,1.847

Alex Beregszaszi syncmail at mplayerhq.hu
Tue Apr 6 18:13:55 CEST 2004


CVS change done by Alex Beregszaszi

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

Modified Files:
	configure 
Log Message:
altivec support under netbsd, patch by Matthew Green

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.846
retrieving revision 1.847
diff -u -r1.846 -r1.847
--- configure	6 Apr 2004 01:12:36 -0000	1.846
+++ configure	6 Apr 2004 16:13:52 -0000	1.847
@@ -878,6 +878,18 @@
 	    _altivec=yes
 	fi
     fi
+    # only gcc 3.4 works reliably with altivec code under netbsd 
+    if netbsd ; then
+	case $cc_version in
+	    2*|3.0*|3.1*|3.2*|3.3*)
+		;;
+	    *)
+		if [ `sysctl -n machdep.altivec` -eq 1 ]; then
+		    _altivec=yes
+		fi
+		;;
+	esac
+    fi
     if test "$_altivec" = yes; then
         echores "$proc altivec"
     else




More information about the MPlayer-cvslog mailing list