summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-13 13:39:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:16 -0500
commit662013e60e777e3db43470eddcfdfbcbeded2e5a (patch)
treeff4a886ec95c14eba7c92e2a05ca7adcd0ff4f2a
parent17ddb68b54c6c550bc4614d33f7da69fc5f75633 (diff)
downloadsamba-662013e60e777e3db43470eddcfdfbcbeded2e5a.tar.gz
samba-662013e60e777e3db43470eddcfdfbcbeded2e5a.tar.bz2
samba-662013e60e777e3db43470eddcfdfbcbeded2e5a.zip
r194: fixed compile with ldap
(This used to be commit 3b4b528dc65bcb3b0de674e1d90c767244c94402)
-rw-r--r--source4/Makefile.in1
-rw-r--r--source4/lib/ldb/config.m44
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/Makefile.in b/source4/Makefile.in
index ea75d26ab9..e5b5d54f70 100644
--- a/source4/Makefile.in
+++ b/source4/Makefile.in
@@ -96,6 +96,7 @@ MODULES = $(CHARSET_MODULES) $(DCERPC_MODULES) $(NTVFS_MODULES)
CHARSET_OBJS = @CHARSET_OBJS@
+LIBLDB_LDAP_OBJS = @LIBLDB_LDAP_OBJS@
LIBLDB_OBJS = @LIBLDB_OBJS@
LIBBASIC_OBJS = @LIBBASIC_OBJS@
diff --git a/source4/lib/ldb/config.m4 b/source4/lib/ldb/config.m4
index 1541dd6736..737ff8b6f6 100644
--- a/source4/lib/ldb/config.m4
+++ b/source4/lib/ldb/config.m4
@@ -1,4 +1,4 @@
-if test x"$HAVE_LDAP" = x"yes"; then
+if test x"$with_ldap_support" = x"yes"; then
SMB_SUBSYSTEM(LIBLDB_LDAP,[lib/ldb/ldb_ldap/ldb_ldap.o])
fi
@@ -12,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 \
- \$(LIBLDAP_LDAP_OBJS)],
+ \$(LIBLDB_LDAP_OBJS)],
lib/ldb/include/ldb.h)
SMB_SUBSYSTEM(LDBADD,[],