aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac41
1 files changed, 41 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..0cc92c4
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,41 @@
1AC_INIT
2OOO_CONFIG_NICE(config.nice)
3AC_CONFIG_SRCDIR([src/mod_gnutls.c])
4AM_MAINTAINER_MODE
5AC_CANONICAL_TARGET
6AM_INIT_AUTOMAKE(mod_gnutls, 0.1.0)
7AM_CONFIG_HEADER([include/mod_gnutls_config.h:config.in])
8
9
10AC_PROG_CC
11AC_PROG_LD
12AC_PROG_INSTALL
13AM_PROG_LIBTOOL
14
15
16AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
17if test "x$PKG_CONFIG" = "xno"; then
18 AC_MSG_ERROR([You need to install pkg-config])
19fi
20
21PKG_PATH=
22
23AP_VERSION=2.0.40
24CHECK_APACHE(,$AP_VERSION,
25 :,:,
26 AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
27)
28
29MODULE_CFLAGS="${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
30
31AC_SUBST(MODULE_CFLAGS)
32
33AC_CONFIG_FILES([Makefile src/Makefile])
34AC_OUTPUT
35
36echo "---"
37echo "Configuration summary for mod_gnutls"
38echo ""
39echo " * Apache modules directory = ${AP_LIBEXECDIR}"
40echo ""
41echo "---"