summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index c50e92bf9f..c4b64515dc 100755
--- a/configure
+++ b/configure
@@ -714,6 +714,7 @@ HAVE_LIST="
$ARCH_EXT_LIST
$THREADS_LIST
altivec_h
+ altivec_vector_braces
arpa_inet_h
bswap
byteswap_h
@@ -1543,6 +1544,13 @@ int main(void) {
return 0;
}
EOF
+
+ # check if our compiler supports braces for vector declarations
+ check_cc <<EOF && enable altivec_vector_braces
+$inc_altivec_h
+#define AVV(x...) {x}
+int main (void) { (vector int) AVV(1); return 0; }
+EOF
fi
# We have to check if pld is a nop and disable it.