Commit d40464cb authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Rémi Denis-Courmont

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

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 9f5c45fa
...@@ -1374,7 +1374,7 @@ AM_CONDITIONAL(HAVE_NEON, [test "${ac_cv_arm_neon}" = "yes"]) ...@@ -1374,7 +1374,7 @@ AM_CONDITIONAL(HAVE_NEON, [test "${ac_cv_arm_neon}" = "yes"])
AC_ARG_ENABLE(altivec, AC_ARG_ENABLE(altivec,
[AS_HELP_STRING([--disable-altivec], [AS_HELP_STRING([--disable-altivec],
[disable AltiVec optimizations (default auto)])],, [ [disable AltiVec optimizations (default auto)])],, [
AS_IF([test "${host_cpu}" = "powerpc"], AS_CASE("${host_cpu}", "powerpc*",
[enable_altivec=yes], [enable_altivec=no]) [enable_altivec=yes], [enable_altivec=no])
]) ])
have_altivec="no" have_altivec="no"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment