From: Nikos Mavrogiannopoulos Date: Thu, 25 Sep 2014 16:46:55 +0000 (+0200) Subject: configure: don't both with checks for padlock in non-x86 X-Git-Tag: gnutls_3_4_0~866 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=209fa6bca7488d9b3b8482e5fd19364a6307db21;p=thirdparty%2Fgnutls.git configure: don't both with checks for padlock in non-x86 --- diff --git a/configure.ac b/configure.ac index 6c468dd338..ff17d55cdf 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,7 @@ AC_ARG_ENABLE(hardware-acceleration, hw_accel=none +use_padlock=no if test "$use_accel" != "no"; then case $host_cpu in i?86 | x86_64 | amd64) @@ -111,6 +112,7 @@ case $host_cpu in else hw_accel="x86" fi + use_padlock=yes ;; *) ;; @@ -120,7 +122,7 @@ fi AC_ARG_ENABLE(padlock, AS_HELP_STRING([--disable-padlock], [unconditionally disable padlock acceleration]), - use_padlock=$enableval, use_padlock=yes) + use_padlock=$enableval) if test "$use_padlock" != "no"; then AC_DEFINE([ENABLE_PADLOCK], 1, [Enable padlock acceleration])