The AC_ARG_ENABLE(...) macro for --enable-power-altivec is called with
enable_altivec=no as the default when the commandline option is not
given to configure. However, the variable $enable_power_altivec is
actually checked - not $enable_altivec. This doesn't matter in practice
since $enable_power_altivec remains unset and the check works as
expected when the commandline option is absent. Fix it anyways for
consistency with the other arguments.

Signed-off-by: Christopher M. Riedl <c...@linux.ibm.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ba85a313..253735a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,7 +99,7 @@ AC_ARG_ENABLE(power-crypto-ext,
 
 AC_ARG_ENABLE(power-altivec,
   AC_HELP_STRING([--enable-power-altivec], [Enable POWER altivec and vsx 
extensions. (default=no)]),,
-  [enable_altivec=no])
+  [enable_power_altivec=no])
 
 AC_ARG_ENABLE(mini-gmp,
   AC_HELP_STRING([--enable-mini-gmp], [Enable mini-gmp, used instead of 
libgmp.]),,
-- 
2.26.1

_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to