changeset 26597:d66592752162

Check for altivec.h always, not just when AltiVec is enabled.
author diego
date Thu, 01 May 2008 13:45:00 +0000
parents 75dcc46740c4
children ee15950f50a7
files configure
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu May 01 13:38:02 2008 +0000
+++ b/configure	Thu May 01 13:45:00 2008 +0000
@@ -2500,7 +2500,6 @@
 
     _def_altivec_h='#undef HAVE_ALTIVEC_H'
 
-    if test "$_altivec" = yes ; then
         echocheck "altivec.h"
         cat > $TMPC << EOF
 #include <altivec.h>
@@ -2512,7 +2511,6 @@
              _def_altivec_h='#define HAVE_ALTIVEC_H 1'
          fi
          echores "$_have_altivec_h"
-    fi
 
     # disable runtime cpudetection if 
     # - we cannot generate altivec code