make digest and kx509 optional

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24407 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-01-25 00:39:07 +00:00
parent 33a9fa44c8
commit 9671037dd1

View File

@@ -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 <sqlite3.h>