summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/configure.in b/source4/lib/ldb/configure.in
index e10248d265..b3a58b56fc 100644
--- a/source4/lib/ldb/configure.in
+++ b/source4/lib/ldb/configure.in
@@ -24,6 +24,7 @@ AC_FUNC_MMAP
AC_PATH_PROG(XSLTPROC,xsltproc)
AC_PATH_PROG(DOXYGEN,doxygen)
AC_PATH_PROG(GCOV,gcov)
+AC_PATH_PROG(SLAPD,slapd)
AC_CHECK_HEADERS(stdint.h dlfcn.h)
AC_CONFIG_HEADER(include/config.h)
AC_CHECK_FUNCS(dlopen dlsym dlclose)
@@ -35,7 +36,7 @@ MODULESDIR="$libdir/ldb"
AC_DEFINE(MODULESDIR,$MODULESDIR,[Modules directory])
AC_SUBST(MODULESDIR)
-AC_CHECK_LIB(popt, poptGetContext)
+sinclude(popt.m4)
sinclude(ldap.m4)
WITH_LDAP=$with_ldap_support