changeset 26798:148b4021c6f5

Only run AltiVec compiler tests on PowerPC.
author diego
date Sun, 18 May 2008 19:05:52 +0000
parents 029a3d52e15e
children 06fa17a9ee01
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun May 18 18:11:05 2008 +0000
+++ b/configure	Sun May 18 19:05:52 2008 +0000
@@ -2415,7 +2415,7 @@
 
 
 #FIXME: This should happen before the check for CFLAGS..
-if test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ; then
+if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then
 
     # check if AltiVec is supported by the compiler, and how to enable it
     echocheck "GCC AltiVec flags"