[MPlayer-cvslog] r18756 - trunk/configure

diego subversion at mplayerhq.hu
Mon Jun 19 11:16:42 CEST 2006


Author: diego
Date: Mon Jun 19 11:16:42 2006
New Revision: 18756

Modified:
   trunk/configure

Log:
Change integer to string comparison in hw.optional.altivec test since
non-AltiVec machines return a blank instead of 0.
patch by Tim Wojtulewicz timwoj**at**ieee**dot**org


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Jun 19 11:16:42 2006
@@ -1207,7 +1207,7 @@
       Darwin)
 	proc=`$_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed 's/ppc//'`
 	if [ `sysctl -n hw.vectorunit` -eq 1 -o \
-	    "`sysctl -n hw.optional.altivec 2>/dev/null`" -eq 1 ]; then
+	    "`sysctl -n hw.optional.altivec 2> /dev/null`" = "1" ]; then
 	    _altivec=yes
 	fi
         ;;



More information about the MPlayer-cvslog mailing list