summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-01 15:33:07 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-01 15:33:07 +0000
commit9b5131761205724e9f811a445657fd58638d2219 (patch)
treeb81dbff59cea0a462b95c51790cc4a951fa706ee /configure
parent5f92ac1d7bc2ad02ddf7a77735c196529f97fe2a (diff)
downloadmpv-9b5131761205724e9f811a445657fd58638d2219.tar.bz2
mpv-9b5131761205724e9f811a445657fd58638d2219.tar.xz
automatic altivec support detection on linux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 1081d75272..d3663a8abe 100755
--- a/configure
+++ b/configure
@@ -872,6 +872,11 @@ EOF
_march='-mcpu=750'
_mcpu='-mtune=750'
fi
+ if linux ; then
+ if test -n "`$_cpuinfo | grep altivec`"; then
+ _altivec=yes
+ fi
+ fi
if darwin ; then
if [ `sysctl -n hw.vectorunit` -eq 1 ]; then
_altivec=yes