configure: Initialize PNG_ARM_NEON_OPT and PNG_MIPS_MSA_OPT correctly
diff --git a/configure b/configure
index afc6ab8..cf2e632 100755
--- a/configure
+++ b/configure
@@ -14068,13 +14068,13 @@
arm*|aarch64*)
enable_arm_neon=yes
-printf "%s\n" "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
+printf "%s\n" "#define PNG_ARM_NEON_OPT 2" >>confdefs.h
;;
mipsel*|mips64el*)
enable_mips_msa=yes
-printf "%s\n" "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
+printf "%s\n" "#define PNG_MIPS_MSA_OPT 2" >>confdefs.h
;;
i?86|x86_64)
diff --git a/configure.ac b/configure.ac
index ff44951..f12da26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -320,12 +320,12 @@
case "$host_cpu" in
arm*|aarch64*)
enable_arm_neon=yes
- AC_DEFINE([PNG_ARM_NEON_OPT], [0],
+ AC_DEFINE([PNG_ARM_NEON_OPT], [2],
[Enable ARM_NEON optimizations])
;;
mipsel*|mips64el*)
enable_mips_msa=yes
- AC_DEFINE([PNG_MIPS_MSA_OPT], [0],
+ AC_DEFINE([PNG_MIPS_MSA_OPT], [2],
[Enable MIPS_MSA optimizations])
;;
i?86|x86_64)