summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-25 16:47:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:44 -0500
commited724f90479af3ee0d9583cef17f3d2365c327dd (patch)
tree2dfb0f7f71d8a77b7bbc91c4e710b453556cfc85 /source3/lib/ldb/common
parentb70ee55a7cec1a9774f6ab56e92d0d9dd36ca217 (diff)
downloadsamba-ed724f90479af3ee0d9583cef17f3d2365c327dd.tar.gz
samba-ed724f90479af3ee0d9583cef17f3d2365c327dd.tar.bz2
samba-ed724f90479af3ee0d9583cef17f3d2365c327dd.zip
r18901: try to fix the samba3 build without having ldap
vl: you were a few seconds faster than me...:-) metze (This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
Diffstat (limited to 'source3/lib/ldb/common')
-rw-r--r--source3/lib/ldb/common/ldb_modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/ldb/common/ldb_modules.c b/source3/lib/ldb/common/ldb_modules.c
index c6cf1e88eb..adbbe58e10 100644
--- a/source3/lib/ldb/common/ldb_modules.c
+++ b/source3/lib/ldb/common/ldb_modules.c
@@ -137,13 +137,13 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
#ifndef STATIC_ldb_MODULES
-#if defined(HAVE_LDAP) && defined(HAVE_LDAP_INITIALIZE)
+#ifdef HAVE_LDB_LDAP
#define LDAP_INIT ldb_ldap_init,
#else
#define LDAP_INIT
#endif
-#ifdef HAVE_SQLITE3
+#ifdef HAVE_LDB_SQLITE3
#define SQLITE3_INIT ldb_sqlite3_init,
#else
#define SQLITE3_INIT