mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
ed3d8091ce
cmdline credentials code (which will be done soon) - added a ldb_init() call, and changed ldb_connect() to take a ldb context. This allows for much better error handling in ldb_connect(), and also made the popt conversion easier - fixed up all the existing backends with the new syntax - improved error handling in *_connect() - fixed a crash bug in the new case_fold_required() code - ensured that ltdb_rename() and all ltdb_search() paths get the read lock - added a ldb_oom() macro to make it easier to report out of memory situations in ldb code (This used to be commit f648fdf187669d6d87d01dd4e786b03cd420f220)
38 lines
947 B
Plaintext
38 lines
947 B
Plaintext
AC_PREREQ(2.50)
|
|
AC_DEFUN([AC_CHECK_LIB_EXT], [
|
|
AC_CHECK_LIB([$1],[$3],[$4],[$5],[$7])
|
|
ac_cv_lib_ext_$1_$3=$ac_cv_lib_$1_$3
|
|
])
|
|
AC_DEFUN([AC_CHECK_FUNC_EXT], [
|
|
AC_CHECK_FUNC([$1],[$3],[$4])
|
|
ac_cv_func_ext_$1=$ac_cv_func_$1
|
|
])
|
|
AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
|
|
AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
|
|
AC_DEFUN([SMB_EXT_LIB_ENABLE], [echo -n ""])
|
|
AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
|
|
AC_INIT(include/ldb.h)
|
|
WITH_GCOV=0
|
|
AC_ARG_ENABLE(gcov,
|
|
[ --enable-gcov Enable GCOV code coverage tests],
|
|
[ WITH_GCOV=1])
|
|
AC_SUBST(WITH_GCOV)
|
|
AC_PROG_CC
|
|
AC_FUNC_MMAP
|
|
AC_PATH_PROG(XSLTPROC,xsltproc)
|
|
AC_PATH_PROG(GCOV,gcov)
|
|
AC_CHECK_HEADERS(stdint.h)
|
|
AC_CONFIG_HEADER(include/config.h)
|
|
|
|
AC_CHECK_LIB(popt, poptGetContext)
|
|
|
|
sinclude(ldap.m4)
|
|
WITH_LDAP=$with_ldap_support
|
|
AC_SUBST(WITH_LDAP)
|
|
sinclude(sqlite3.m4)
|
|
WITH_SQLITE3=$with_sqlite3_support
|
|
AC_SUBST(WITH_SQLITE3)
|
|
sinclude(config.m4)
|
|
sinclude(../talloc/config.m4)
|
|
AC_OUTPUT(Makefile ldb.pc)
|