add --hdb-openldap-module

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13429 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-03-06 22:25:23 +00:00
parent f46a1ac367
commit b54087bb83

View File

@@ -62,6 +62,14 @@ rk_TEST_PACKAGE(openldap,
#include <ldap.h>],
[-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 <krb.h>],-lkrb,-ldes,/usr/athena, KRB4, krb4-config)
LIB_kdb=