summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2008-12-15 15:55:17 -0500
committerSimo Sorce <idra@samba.org>2008-12-15 15:56:22 -0500
commita0506637ad9fe10a56b3b3315b2c54f948bf87f3 (patch)
treeb07db0e63060d150bb52e9042776245eac25734a /server
parent4e2a152169175b18f5fac45b25a8d8c8a5bea2b5 (diff)
downloadsssd-a0506637ad9fe10a56b3b3315b2c54f948bf87f3.tar.gz
sssd-a0506637ad9fe10a56b3b3315b2c54f948bf87f3.tar.bz2
sssd-a0506637ad9fe10a56b3b3315b2c54f948bf87f3.zip
Fix dependencies for LDB
Diffstat (limited to 'server')
-rw-r--r--server/configure.ac2
-rw-r--r--server/external/libldb.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/server/configure.ac b/server/configure.ac
index c65500d4..0d02fae8 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -39,8 +39,8 @@ m4_include(pkg.m4)
m4_include(libpopt.m4)
m4_include(libtalloc.m4)
m4_include(libtdb.m4)
-m4_include(libldb.m4)
m4_include(libevents.m4)
+m4_include(libldb.m4)
m4_include(util/signal.m4)
PKG_CHECK_MODULES(DBUS,dbus-1)
diff --git a/server/external/libldb.m4 b/server/external/libldb.m4
index cea4367a..cb5f378d 100644
--- a/server/external/libldb.m4
+++ b/server/external/libldb.m4
@@ -3,5 +3,5 @@ AC_SUBST(LDB_CFLAGS)
AC_SUBST(LDB_LIBS)
AC_CHECK_HEADER(ldb.h,
- [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"]) ],
+ [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], , -levents) ],
[PKG_CHECK_MODULES(LDB, ldb >= 0.9.2)])