summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index d6c44cf89e..be52d4df92 100755
--- a/configure
+++ b/configure
@@ -4447,7 +4447,14 @@ EOF
if enabled vsx; then
check_cflags -mvsx &&
- check_builtin vec_vsx_ld "altivec.h" "__builtin_vec_vsx_ld" || disable vsx
+ check_cc <<EOF || disable vsx
+$inc_altivec_h
+int main(void) {
+ int v[4] = { 0 };
+ vector signed int v1 = vec_vsx_ld(0, v);
+ return 0;
+}
+EOF
fi
if enabled power8; then