r6790: Use config.h file for ldb and add test for stdint.h
[samba.git] / source / lib / ldb / configure.in
index 26b39e684ac4132c3925e5633c3486d85e501b7d..ed61344317191ed51fd9e93362f00a2cf713fcfa 100644 (file)
@@ -20,6 +20,10 @@ AC_PROG_CC
 AC_FUNC_MMAP
 AC_PATH_PROG(YODL2MAN,yodl2man)
 AC_PATH_PROG(GCOV,gcov)
+AC_CHECK_HEADERS(stdint.h)
+AC_CONFIG_HEADER(include/config.h)
 sinclude(ldap.m4)
+WITH_LDAP=$with_ldap_support
+AC_SUBST(WITH_LDAP)
 sinclude(config.m4)
 AC_OUTPUT(Makefile ldb.pc)