36d409ac11edda1dc5b1d3c62b5cc41cdbb8155d
[samba.git] / source4 / lib / tdb / configure.ac
1 AC_PREREQ(2.50)
2 AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
3 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
4 AC_DEFUN([SMB_ENABLE], [echo -n ""])
5 AC_INIT(tdb, 1.1.1)
6 AC_CONFIG_SRCDIR([common/tdb.c])
7 AC_CONFIG_HEADER(include/config.h)
8 AC_LIBREPLACE_ALL_CHECKS
9 AC_LD_SONAMEFLAG
10 AC_LD_PICFLAG
11 AC_LD_SHLIBEXT
12 AC_LIBREPLACE_SHLD
13 AC_LIBREPLACE_SHLD_FLAGS
14 AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR
15 m4_include(libtdb.m4)
16 AC_PATH_PROGS([PYTHON_CONFIG], [python2.6-config python2.5-config python2.4-config python-config])
17
18 PYTHON_BUILD_TARGET="build-python"
19 PYTHON_INSTALL_TARGET="install-python"
20 PYTHON_CHECK_TARGET="check-python"
21 AC_SUBST(PYTHON_BUILD_TARGET)
22 AC_SUBST(PYTHON_INSTALL_TARGET)
23 AC_SUBST(PYTHON_CHECK_TARGET)
24 if test -z "$PYTHON_CONFIG"; then
25         PYTHON_BUILD_TARGET=""
26         PYTHON_INSTALL_TARGET=""
27         PYTHON_CHECK_TARGET=""
28 fi
29 AC_OUTPUT(Makefile tdb.pc)