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

Dominique Leuenberger git at videolan.org
Mon Jul 29 20:19:25 CEST 2013


vlc | branch: master | Dominique Leuenberger <dimstar at opensuse.org> | Mon Jul 29 20:14:20 2013 +0200| [d40464cb3d0b7340dedf720210c72f0ba331748d] | committer: Rémi Denis-Courmont

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

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

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

diff --git a/configure.ac b/configure.ac
index eb712fdd..903a88e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1374,7 +1374,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