changeset 23580:e180f4d46593

Unbreak altivec
author lu_zero
date Thu, 21 Jun 2007 19:01:29 +0000
parents 964faf678768
children 58deb214b955
files configure
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jun 21 15:03:28 2007 +0000
+++ b/configure	Thu Jun 21 19:01:29 2007 +0000
@@ -2466,7 +2466,8 @@
   echores "$_iwmmxt"
 fi
 
-_cpuexts_all='MMX MMX2 3DNOW 3DNOWEX SSE SSE2 SSSE3 FAST_CMOV CMOV ARMV5TE ARMV6 IWMMXT MLIB MMI SH4 BFIN'
+_cpuexts_all='ALTIVEC MMX MMX2 3DNOW 3DNOWEX SSE SSE2 SSSE3 FAST_CMOV CMOV ARMV5TE ARMV6 IWMMXT MLIB MMI SH4 BFIN'
+test "$_altivec"   = yes && _cpuexts="ALTIVEC $_cpuexts"
 test "$_mmx"       = yes && _cpuexts="MMX $_cpuexts"
 test "$_mmxext"    = yes && _cpuexts="MMX2 $_cpuexts"
 test "$_3dnow"     = yes && _cpuexts="3DNOW $_cpuexts"
@@ -2477,7 +2478,7 @@
 test "$_cmov"      = yes && _cpuexts="CMOV $_cpuexts"
 test "$_fast_cmov" = yes && _cpuexts="FAST_CMOV $_cpuexts"
 test "$_armv5te"   = yes && _cpuexts="ARMV5TE $_cpuexts"
-test "$_armv6"     = yes && _cpuexts="ARMV6 $_cpuexts"
+test "$_armv6"     = yes && _cpuexts="ARMV6 $_cpuexts"Y
 test "$_iwmmxt"    = yes && _cpuexts="IWMMXT $_cpuexts"
 
 # Checking kernel version...