From 9671037dd1c74631620de58bc2632fb4e130c22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 25 Jan 2009 00:39:07 +0000 Subject: [PATCH] make digest and kx509 optional git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24407 ec53bebd-3082-4978-b11e-865c3cabbd6b --- configure.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/configure.in b/configure.in index f7fffc827..148ac9553 100644 --- a/configure.in +++ b/configure.in @@ -70,6 +70,10 @@ if test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes; then fi AM_CONDITIONAL(OPENLDAP_MODULE, test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes) +dnl +dnl Optional modules, pk-init, digest, kx509 +dnl + AC_ARG_ENABLE(pk-init, AS_HELP_STRING([--disable-pk-init], [if you want disable to PK-INIT support])) @@ -78,6 +82,21 @@ if test "$enable_pk_init" != no ;then fi AM_CONDITIONAL(PKINIT, test "$enable_pk_init" != no) +AC_ARG_ENABLE(digest, + AS_HELP_STRING([--disable-digest], + [if you want disable to DIGEST support])) +if test "$enable_digest" != no ;then + AC_DEFINE([DIGEST], 1, [Define to enable DIGEST.]) +fi + +AC_ARG_ENABLE(kx509, + AS_HELP_STRING([--disable-kx509], + [if you want disable to kx509 support])) +if test "$enable_kx509" != no ;then + AC_DEFINE([KX509], 1, [Define to enable kx509.]) +fi + + dnl Check for sqlite rk_TEST_PACKAGE(sqlite3, [#include