3 AC_CONFIG_SRCDIR([tevent.c])
4 AC_CONFIG_HEADER(config.h)
6 AC_LIBREPLACE_ALL_CHECKS
13 AC_LIBREPLACE_SHLD_FLAGS
14 AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR
16 m4_include(build_macros.m4)
17 BUILD_WITH_SHARED_BUILD_DIR
20 m4_include(libtalloc.m4)
22 m4_include(libtevent.m4)
23 AC_PATH_PROGS([PYTHON_CONFIG], [python2.6-config python2.5-config python2.4-config python-config])
24 AC_PATH_PROGS([PYTHON], [python2.6 python2.5 python2.4 python])
26 PYTHON_BUILD_TARGET="build-python"
27 PYTHON_INSTALL_TARGET="install-python"
28 PYTHON_CHECK_TARGET="check-python"
29 AC_SUBST(PYTHON_BUILD_TARGET)
30 AC_SUBST(PYTHON_INSTALL_TARGET)
31 AC_SUBST(PYTHON_CHECK_TARGET)
32 if test -z "$PYTHON_CONFIG"; then
33 PYTHON_BUILD_TARGET=""
34 PYTHON_INSTALL_TARGET=""
35 PYTHON_CHECK_TARGET=""
37 AC_OUTPUT(Makefile tevent.pc)