SHA256
1
0
forked from pool/vlc
vlc/ppc64_altivec.patch

12 lines
402 B
Diff
Raw Normal View History

--- a/configure.ac
+++ b/configure.ac
@@ -1371,7 +1371,7 @@ AM_CONDITIONAL(HAVE_NEON, [test "${ac_cv_arm_neon}" = "yes"])
AC_ARG_ENABLE(altivec,
[AS_HELP_STRING([--disable-altivec],
[disable AltiVec optimizations (default auto)])],, [
- AS_IF([test "${host_cpu}" = "powerpc"],
+ AS_CASE(["${host_cpu}"], [powerpc*],
[enable_altivec=yes], [enable_altivec=no])
])
have_altivec="no"