summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-08 12:20:49 -0400
committerSimo Sorce <idra@samba.org>2008-10-08 12:24:14 -0400
commit07111cfbf95dd0ec4d5985f541073b15b904a329 (patch)
treefce720264b52fb087fb7b30a75ca87ea0a6defff /server/external
parent77db18dd9e52f3937af360f1a14c4b7cf0fef83d (diff)
downloadsssd-07111cfbf95dd0ec4d5985f541073b15b904a329.tar.gz
sssd-07111cfbf95dd0ec4d5985f541073b15b904a329.tar.bz2
sssd-07111cfbf95dd0ec4d5985f541073b15b904a329.zip
First retrieval of a user (getpwnam only) from an actual ldb file
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libldb.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/server/external/libldb.m4 b/server/external/libldb.m4
new file mode 100644
index 00000000..cea4367a
--- /dev/null
+++ b/server/external/libldb.m4
@@ -0,0 +1,7 @@
+AC_SUBST(LDB_OBJ)
+AC_SUBST(LDB_CFLAGS)
+AC_SUBST(LDB_LIBS)
+
+AC_CHECK_HEADER(ldb.h,
+ [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"]) ],
+ [PKG_CHECK_MODULES(LDB, ldb >= 0.9.2)])