summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/config.m4')
-rw-r--r--source4/lib/ldb/config.m422
1 files changed, 16 insertions, 6 deletions
diff --git a/source4/lib/ldb/config.m4 b/source4/lib/ldb/config.m4
index 6b097c34ec..6fdfcf526a 100644
--- a/source4/lib/ldb/config.m4
+++ b/source4/lib/ldb/config.m4
@@ -1,7 +1,17 @@
+
+SMB_MODULE(libldb_tdb,LIBLDB,STATIC,
+ [lib/ldb/ldb_tdb/ldb_tdb.o \
+ lib/ldb/ldb_tdb/ldb_pack.o \
+ lib/ldb/ldb_tdb/ldb_search.o \
+ lib/ldb/ldb_tdb/ldb_index.o \
+ lib/ldb/ldb_tdb/ldb_match.o])
+
+if test x"$with_ldap_support" = x"yes"; then
+ SMB_MODULE_DEFAULT(libldb_ldap,STATIC)
+fi
+SMB_MODULE(libldb_ldap,LIBLDB,NOT,[lib/ldb/ldb_ldap/ldb_ldap.o])
+
SMB_SUBSYSTEM(LIBLDB,[lib/ldb/common/ldb.o],
- [lib/ldb/ldb_tdb/ldb_pack.o \
- lib/ldb/common/ldb_ldif.o lib/ldb/ldb_tdb/ldb_search.o \
- lib/ldb/common/ldb_parse.o lib/ldb/ldb_tdb/ldb_tdb.o \
- lib/ldb/common/util.o lib/ldb/ldb_ldap/ldb_ldap.o \
- lib/ldb/ldb_tdb/ldb_index.o lib/ldb/ldb_tdb/ldb_match.o],
- lib/ldb/include/ldb.h)
+ [lib/ldb/common/ldb_ldif.o \
+ lib/ldb/common/ldb_parse.o \
+ lib/ldb/common/util.o])