From 98b41c3aa4d2d2d4b7ba82c09ab02b001c11efc1 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 10 Apr 2007 17:13:38 +0000 Subject: [PATCH] Fix --disable-*. --- configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 467463e2d..beaca9f74 100644 --- a/configure.in +++ b/configure.in @@ -312,20 +312,20 @@ else ac_full=0 AC_MSG_RESULT(yes) fi +AM_CONDITIONAL(ENABLE_SRP, test "$ac_enable_srp" != "no") AC_MSG_CHECKING([whether to disable PSK authentication support]) AC_ARG_ENABLE(psk-authentication, AS_HELP_STRING([--disable-psk-authentication], [disable the PSK authentication support]), - ac_enable_srp=no) -if test x$ac_enable_srp != xno; then + ac_enable_psk=no) +if test x$ac_enable_psk != xno; then AC_MSG_RESULT(no) AC_DEFINE(ENABLE_PSK, 1, [enable PSK authentication]) else ac_full=0 AC_MSG_RESULT(yes) fi -AM_CONDITIONAL(ENABLE_SRP, test "$ac_enable_srp" != "no") AC_MSG_CHECKING([whether to disable anonymous authentication support]) AC_ARG_ENABLE(anon-authentication, @@ -352,6 +352,7 @@ else ac_full=0 AC_MSG_RESULT(yes) fi +AM_CONDITIONAL(ENABLE_AUTHZ, test "$ac_enable_authz" != "no") AC_MSG_CHECKING([whether to disable extra PKI stuff]) AC_ARG_ENABLE(extra-pki, -- 2.11.4.GIT