[vlc-commits] build: detect variants of powerpc host_cpu (such as powerpc64)

Dominique Leuenberger git at videolan.org
Fri Aug 9 10:33:12 CEST 2013


vlc/vlc-2.1 | branch: master | Dominique Leuenberger <dimstar at opensuse.org> | Mon Jul 29 20:14:20 2013 +0200| [cce2cdb0dd246fa9669378f5a3b967464c88bf20] | committer: Jean-Baptiste Kempf

build: detect variants of powerpc host_cpu (such as powerpc64)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit d40464cb3d0b7340dedf720210c72f0ba331748d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=cce2cdb0dd246fa9669378f5a3b967464c88bf20
---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index fde19b3..46b95bf 100644
--- 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"



More information about the vlc-commits mailing list