s3:web/swat: use strtoll() instead of atoi/atol/atoll
[Samba.git] / lib / tdb / configure.ac
blob2feaa6f5f556359268430820b46cfc8704223c3a
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.3)
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 AC_PATH_PROGS([PYTHON], [python2.6 python2.5 python2.4 python])
19 PYTHON_BUILD_TARGET="build-python"
20 PYTHON_INSTALL_TARGET="install-python"
21 PYTHON_CHECK_TARGET="check-python"
22 AC_SUBST(PYTHON_BUILD_TARGET)
23 AC_SUBST(PYTHON_INSTALL_TARGET)
24 AC_SUBST(PYTHON_CHECK_TARGET)
25 if test -z "$PYTHON_CONFIG"; then
26         PYTHON_BUILD_TARGET=""
27         PYTHON_INSTALL_TARGET=""
28         PYTHON_CHECK_TARGET=""
31 m4_include(build_macros.m4)
32 BUILD_WITH_SHARED_BUILD_DIR
34 AC_OUTPUT(Makefile tdb.pc)