changeset 26680:cf0bd9d850f3

Only check for and set AltiVec flags if AltiVec or runtime CPU detection is enabled. Fixes Bugzilla #1073.
author diego
date Sat, 10 May 2008 12:13:53 +0000
parents f7cb590e72a0
children 62d0831c90dc
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat May 10 12:11:05 2008 +0000
+++ b/configure	Sat May 10 12:13:53 2008 +0000
@@ -2411,7 +2411,7 @@
 
 
 #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