s4: disable source4 directory for the 3.4.x releases
[Samba.git] / lib / tevent / configure.ac
blob171a4088bac2c011d75892b574106a895cdc6a48
1 AC_PREREQ(2.50)
2 AC_INIT(tevent, 0.9.5)
3 AC_CONFIG_SRCDIR([tevent.c])
4 AC_CONFIG_HEADER(config.h)
6 AC_LIBREPLACE_ALL_CHECKS
8 AC_LD_EXPORT_DYNAMIC
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
16 m4_include(build_macros.m4)
17 BUILD_WITH_SHARED_BUILD_DIR
19 m4_include(pkg.m4)
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)