summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-10 12:13:53 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-10 12:13:53 +0000
commit00b1ac02e2f6dcde812bf5a33c73a91323e898b2 (patch)
treef1f96fcd1b61a9a8bf6c90976d8d65ae50f0a2a3 /configure
parentcac788de05de6fc25d97444fad74e31c249529c9 (diff)
downloadmpv-00b1ac02e2f6dcde812bf5a33c73a91323e898b2.tar.bz2
mpv-00b1ac02e2f6dcde812bf5a33c73a91323e898b2.tar.xz
Only check for and set AltiVec flags if AltiVec or runtime CPU detection is
enabled. Fixes Bugzilla #1073. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26712 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 4040a254c1..42aad231cf 100755
--- a/configure
+++ b/configure
@@ -2411,7 +2411,7 @@ echores $_asmalign_pot
#FIXME: This should happen before the check for CFLAGS..
-if ppc ; then
+if test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ; then
# check if altivec is supported by the compiler, and how to enable it