Module: libav Branch: master Commit: 6a7e928555d081ff86c867867ebce74fdc4c87d6
Author: Luca Barbato <lu_z...@gentoo.org> Committer: Luca Barbato <lu_z...@gentoo.org> Date: Wed May 10 17:18:48 2017 +0200 configure: Do not check for the __builtin_vec_vsx_ld Clang support for Altivec/VSX uses a different approach. --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d6c44cf..be52d4d 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 _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits