summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-19 09:16:42 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-19 09:16:42 +0000
commite2fd618a2c38b40c0ea17925066cec561e0d021f (patch)
tree06c9865eb20771c935a93ed7a021208c82e71ebb /configure
parent1bb2f978aa7b13770912fbd5bd025207eb70881e (diff)
downloadmpv-e2fd618a2c38b40c0ea17925066cec561e0d021f.tar.bz2
mpv-e2fd618a2c38b40c0ea17925066cec561e0d021f.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18756 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index ed2d4e6081..76332b44b1 100755
--- a/configure
+++ b/configure
@@ -1207,7 +1207,7 @@ EOF
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
;;