r6829: include the talloc autoconf tests when building ldb standalone
[samba.git] / source / lib / ldb / configure.in
1 AC_PREREQ(2.50)
2 AC_DEFUN([AC_CHECK_LIB_EXT], [
3         AC_CHECK_LIB([$1],[$3],[$4],[$5],[$7])
4         ac_cv_lib_ext_$1_$3=$ac_cv_lib_$1_$3
5 ])
6 AC_DEFUN([AC_CHECK_FUNC_EXT], [
7         AC_CHECK_FUNC([$1],[$3],[$4])
8         ac_cv_func_ext_$1=$ac_cv_func_$1
9 ])
10 AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
11 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
12 AC_DEFUN([SMB_EXT_LIB_ENABLE], [echo -n ""])
13 AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
14 AC_INIT(include/ldb.h)
15 WITH_GCOV=0
16 AC_ARG_ENABLE(gcov,
17         [  --enable-gcov        Enable GCOV code coverage tests],
18         [ WITH_GCOV=1])
19 AC_SUBST(WITH_GCOV)
20 AC_PROG_CC
21 AC_FUNC_MMAP
22 AC_PATH_PROG(YODL2MAN,yodl2man)
23 AC_PATH_PROG(GCOV,gcov)
24 AC_CHECK_HEADERS(stdint.h)
25 AC_CONFIG_HEADER(include/config.h)
26 sinclude(ldap.m4)
27 WITH_LDAP=$with_ldap_support
28 AC_SUBST(WITH_LDAP)
29 sinclude(config.m4)
30 sinclude(../talloc/config.m4)
31 AC_OUTPUT(Makefile ldb.pc)