comparison configure @ 26798:148b4021c6f5

Only run AltiVec compiler tests on PowerPC.
author diego
date Sun, 18 May 2008 19:05:52 +0000
parents a30e8bd1d5dd
children 06fa17a9ee01
comparison
equal deleted inserted replaced
26797:029a3d52e15e 26798:148b4021c6f5
2413 fi 2413 fi
2414 echores $_asmalign_pot 2414 echores $_asmalign_pot
2415 2415
2416 2416
2417 #FIXME: This should happen before the check for CFLAGS.. 2417 #FIXME: This should happen before the check for CFLAGS..
2418 if test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ; then 2418 if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then
2419 2419
2420 # check if AltiVec is supported by the compiler, and how to enable it 2420 # check if AltiVec is supported by the compiler, and how to enable it
2421 echocheck "GCC AltiVec flags" 2421 echocheck "GCC AltiVec flags"
2422 cat > $TMPC << EOF 2422 cat > $TMPC << EOF
2423 int main(void) { return 0; } 2423 int main(void) { return 0; }