# HG changeset patch # User diego # Date 1210421633 0 # Node ID cf0bd9d850f3a37b686f2e4c31ec6daf1624e30c # Parent f7cb590e72a001605b1cfbbb82992b3e935c7e41 Only check for and set AltiVec flags if AltiVec or runtime CPU detection is enabled. Fixes Bugzilla #1073. diff -r f7cb590e72a0 -r cf0bd9d850f3 configure --- 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