From e4b3116bfee4259fa701bc92772054ee97369243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 6 Mar 2004 22:26:46 +0000 Subject: [PATCH] when building ldap as a shared module, don't include it in the list git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13430 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/hdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hdb/hdb.c b/lib/hdb/hdb.c index 7f1c2e46d..a60586a31 100644 --- a/lib/hdb/hdb.c +++ b/lib/hdb/hdb.c @@ -51,14 +51,14 @@ static struct hdb_method methods[] = { #if HAVE_NDBM {"ndbm:", hdb_ndbm_create}, #endif -#ifdef OPENLDAP +#if defined(OPENLDAP) && !defined(OPENLDAP_MODULE) {"ldap:", hdb_ldap_create}, #endif #if HAVE_DB1 || HAVE_DB3 {"", hdb_db_create}, #elif defined(HAVE_NDBM) {"", hdb_ndbm_create}, -#elif defined(OPENLDAP) +#elif defined(OPENLDAP) && !defined(OPENLDAP_MODULE) {"", hdb_ldap_create}, #endif {NULL, NULL}