diff configure @ 26805:9ee2a073c09c

Do not run second AltiVec CFLAG check in a subshell; the variable that is set as a result is needed in the calling shell. noticed by Michael Kostylev
author diego
date Mon, 19 May 2008 05:40:19 +0000
parents 06fa17a9ee01
children 6b9905629396
line wrap: on
line diff
--- a/configure	Mon May 19 00:07:17 2008 +0000
+++ b/configure	Mon May 19 05:40:19 2008 +0000
@@ -2424,7 +2424,7 @@
 EOF
     cc_check -maltivec -mabi=altivec \
         && _altivec_gcc_flags="-maltivec -mabi=altivec" \
-        || ( cc_check -faltivec && _altivec_gcc_flags=-faltivec ) \
+        || { cc_check -faltivec && _altivec_gcc_flags=-faltivec ; } \
         || _altivec=no
     echores "$_altivec_gcc_flags"