[FFmpeg-cvslog] configure: Do not check for the __builtin_vec_vsx_ld
Luca Barbato
git at videolan.org
Tue Oct 31 18:15:14 EET 2017
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed May 10 17:18:48 2017 +0200| [6a7e928555d081ff86c867867ebce74fdc4c87d6] | committer: Luca Barbato
configure: Do not check for the __builtin_vec_vsx_ld
Clang support for Altivec/VSX uses a different approach.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a7e928555d081ff86c867867ebce74fdc4c87d6
---
configure | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
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
More information about the ffmpeg-cvslog
mailing list