2 AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
3 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
4 AC_DEFUN([SMB_ENABLE], [echo -n ""])
6 AC_CONFIG_SRCDIR([common/tdb.c])
7 AC_CONFIG_HEADER(include/config.h)
8 AC_LIBREPLACE_ALL_CHECKS
14 AC_LIBREPLACE_SHLD_FLAGS
15 AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR
17 AC_PATH_PROGS([PYTHON_CONFIG], [python2.6-config python2.5-config python2.4-config python-config])
18 AC_PATH_PROGS([PYTHON], [python2.6 python2.5 python2.4 python])
20 PYTHON_BUILD_TARGET="build-python"
21 PYTHON_INSTALL_TARGET="install-python"
22 PYTHON_CHECK_TARGET="check-python"
23 AC_SUBST(PYTHON_BUILD_TARGET)
24 AC_SUBST(PYTHON_INSTALL_TARGET)
25 AC_SUBST(PYTHON_CHECK_TARGET)
26 if test -z "$PYTHON_CONFIG"; then
27 PYTHON_BUILD_TARGET=""
28 PYTHON_INSTALL_TARGET=""
29 PYTHON_CHECK_TARGET=""
33 AS_HELP_STRING([--enable-python], [Enables python binding]),
34 [ if test "x$enableval" = "xno" ; then
35 PYTHON_BUILD_TARGET=""
36 PYTHON_INSTALL_TARGET=""
37 PYTHON_CHECK_TARGET=""
41 AC_PATH_PROG(XSLTPROC,xsltproc)
43 if test -n "$XSLTPROC"; then
48 m4_include(build_macros.m4)
49 BUILD_WITH_SHARED_BUILD_DIR
51 AC_OUTPUT(Makefile tdb.pc)