configure: Do not check for the __builtin_vec_vsx_ld

Clang support for Altivec/VSX uses a different approach.
This commit is contained in:
Luca Barbato 2017-05-10 17:18:48 +02:00
parent 3d040513a1
commit 6a7e928555
1 changed files with 8 additions and 1 deletions

9
configure vendored
View File

@ -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