summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/config.m4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-11 01:26:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:11 -0500
commit27db4c6d18b31c2e70211efe3c26816cd5d38b24 (patch)
treeae86480ee1c2538638470a910d73d00f3f0601cb /source4/lib/ldb/config.m4
parent0446e6addd5de78880f30df70424bc608ba062dd (diff)
downloadsamba-27db4c6d18b31c2e70211efe3c26816cd5d38b24.tar.gz
samba-27db4c6d18b31c2e70211efe3c26816cd5d38b24.tar.bz2
samba-27db4c6d18b31c2e70211efe3c26816cd5d38b24.zip
r158: cope with or without LDAP in samba build of ldb
(This used to be commit e776ce4f9e6fead235b3cec86d85eb95704f10ef)
Diffstat (limited to 'source4/lib/ldb/config.m4')
-rw-r--r--source4/lib/ldb/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/ldb/config.m4 b/source4/lib/ldb/config.m4
index 7c4749ab02..1541dd6736 100644
--- a/source4/lib/ldb/config.m4
+++ b/source4/lib/ldb/config.m4
@@ -1,3 +1,7 @@
+if test x"$HAVE_LDAP" = x"yes"; then
+SMB_SUBSYSTEM(LIBLDB_LDAP,[lib/ldb/ldb_ldap/ldb_ldap.o])
+fi
+
SMB_SUBSYSTEM(LIBLDB,[lib/ldb/common/ldb.o],
[lib/ldb/common/ldb_ldif.o \
lib/ldb/common/ldb_parse.o \
@@ -8,7 +12,7 @@ SMB_SUBSYSTEM(LIBLDB,[lib/ldb/common/ldb.o],
lib/ldb/ldb_tdb/ldb_pack.o \
lib/ldb/ldb_tdb/ldb_index.o \
lib/ldb/ldb_tdb/ldb_match.o \
- lib/ldb/ldb_ldap/ldb_ldap.o],
+ \$(LIBLDAP_LDAP_OBJS)],
lib/ldb/include/ldb.h)
SMB_SUBSYSTEM(LDBADD,[],