AC_PREREQ(2.50)
AC_INIT(tevent, 0.9.9)
AC_CONFIG_SRCDIR([tevent.c])
AC_CONFIG_HEADER(config.h)

AC_LIBREPLACE_ALL_CHECKS

AC_LD_EXPORT_DYNAMIC
AC_LD_SONAMEFLAG
AC_LD_VERSIONSCRIPT
AC_LD_PICFLAG
AC_LD_SHLIBEXT
AC_LIBREPLACE_SHLD
AC_LIBREPLACE_SHLD_FLAGS
AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR

m4_include(build_macros.m4)
BUILD_WITH_SHARED_BUILD_DIR

m4_include(pkg.m4)
m4_include(libtalloc.m4)

m4_include(libtevent.m4)

AC_OUTPUT(Makefile tevent.pc)
