From b54087bb8345ea0610acda3b49a4b418e14b6597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 6 Mar 2004 22:25:23 +0000 Subject: [PATCH] add --hdb-openldap-module git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13429 ec53bebd-3082-4978-b11e-865c3cabbd6b --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 96424f1b1..d9533fe93 100644 --- a/configure.in +++ b/configure.in @@ -62,6 +62,14 @@ rk_TEST_PACKAGE(openldap, #include ], [-lldap -llber],,,OPENLDAP) +AC_ARG_ENABLE(hdb-openldap-module, + AC_HELP_STRING([--hdb-openldap-module], + [if you want support to build openldap hdb as shared object])) +if test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes; then + AC_DEFINE(OPENLDAP_MODULE, 1, [Define if you want support for hdb ldap module]) +fi +AM_CONDITIONAL(OPENLDAP_MODULE, test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes) + rk_TEST_PACKAGE(krb4,[#include ],-lkrb,-ldes,/usr/athena, KRB4, krb4-config) LIB_kdb=