diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-09-25 18:46:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-09-25 18:46:55 +0200 |
commit | 209fa6bca7488d9b3b8482e5fd19364a6307db21 (patch) | |
tree | e4a42f82fb2108a3168da0b53d2509a7cacda064 /configure.ac | |
parent | 1712f1a6738fbc45b993e6126ef30db41902e706 (diff) | |
download | gnutls-209fa6bca7488d9b3b8482e5fd19364a6307db21.tar.gz |
configure: don't both with checks for padlock in non-x86
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
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]) |