From: Simon Josefsson Date: Tue, 13 Feb 2007 10:11:48 +0000 (+0000) Subject: Fix PKI test. X-Git-Tag: gnutls_1_7_7~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9a5ea69fa6333075da5d896c203b95a2933467d;p=thirdparty%2Fgnutls.git Fix PKI test. --- diff --git a/configure.in b/configure.in index 39907ec9b8..454b685f4d 100644 --- a/configure.in +++ b/configure.in @@ -343,15 +343,15 @@ AC_MSG_CHECKING([whether to disable extra PKI stuff]) AC_ARG_ENABLE(extra-pki, AS_HELP_STRING([--disable-extra-pki], [only enable the basic PKI stuff]), - ac_enable_pki=no) -if test x$ac_enable_pki != xno; then - AC_MSG_RESULT(no) - AC_DEFINE(ENABLE_PKI, 1, [whether to include all the PKCS #x stuff and other PKI stuff]) -else + disable_pki=$enableval, disable_pki=no) +if test "$disable_pki" != "no"; then ac_full=0 AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + AC_DEFINE(ENABLE_PKI, 1, [whether to include all the PKCS/PKI stuff]) fi -AM_CONDITIONAL(ENABLE_PKI, test "$ac_enable_pki" = "yes") +AM_CONDITIONAL(ENABLE_PKI, test "$disable_pki" = "no") dnl Check whether to disable OpenPGP authentication completely dnl from libgnutls-extra.