AC_INIT OOO_CONFIG_NICE(config.nice) AC_CONFIG_SRCDIR([src/mod_gnutls.c]) AM_MAINTAINER_MODE AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(mod_gnutls, 0.1.0) AM_CONFIG_HEADER([include/mod_gnutls_config.h:config.in]) AC_PROG_CC AC_PROG_LD AC_PROG_INSTALL AM_PROG_LIBTOOL AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi PKG_PATH= AP_VERSION=2.0.40 CHECK_APACHE(,$AP_VERSION, :,:, AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) ) MODULE_CFLAGS="${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" AC_SUBST(MODULE_CFLAGS) AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT echo "---" echo "Configuration summary for mod_gnutls" echo "" echo " * Apache modules directory = ${AP_LIBEXECDIR}" echo "" echo "---"