summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-31 13:11:02 -0300
committerJames Almer <jamrial@gmail.com>2017-10-31 13:11:02 -0300
commit092951f4a862afad0614841af8144a40a6b2f5f5 (patch)
treed98f43fbe3a67b961fc2ef1a794bc1b877cf14f9 /configure
parent51e091e2dcf11171615b5d67aeba6b8e5d04de37 (diff)
parent6a7e928555d081ff86c867867ebce74fdc4c87d6 (diff)
Merge commit '6a7e928555d081ff86c867867ebce74fdc4c87d6'
* commit '6a7e928555d081ff86c867867ebce74fdc4c87d6': configure: Do not check for the __builtin_vec_vsx_ld Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index cc524ca16a..ef9edc9010 100755
--- a/configure
+++ b/configure
@@ -5605,7 +5605,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