diff --git a/configure b/configure index 2b3bd1c16a9e4a6d65401a49e7bbfbfca246b3b4..c50e92bf9fd5e8d7a7d051e7a36c49a106327f80 100755 --- a/configure +++ b/configure @@ -1531,13 +1531,10 @@ fi # AltiVec flags: The FSF version of GCC differs from the Apple version if enabled altivec; then check_cflags -maltivec -mabi=altivec && \ - check_header altivec.h || \ + { check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } || \ check_cflags -faltivec # check if our compiler supports Motorola AltiVec C API - enabled altivec_h && - inc_altivec_h="#include <altivec.h>" || - inc_altivec_h= check_cc <<EOF || disable altivec $inc_altivec_h int main(void) {