aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Paul Querna 2004-12-02 21:24:30 +0000
committerGravatar Paul Querna 2004-12-02 21:24:30 +0000
commited47098c757860a9444fd6de621699a951900211 (patch)
tree6341f2d2228a54dab0973db717d3255abd4e9743
parent01d15c290a32b9118f4eeb7e7954bc0f5fa725fd (diff)
adding autofoo for memcache support
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am2
3 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index aebf68d..6ba0ee8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
1EXTRA_DIST = m4/outoforder.m4 m4/apache.m4 1EXTRA_DIST = m4/outoforder.m4 m4/apache.m4 m4/libgnutls.m4 m4/libmemcache.m4 \
2 include/mod_gnutls.h include/memcache.h \
3 NOTICE LICENSE autogen.sh
2 4
3SUBDIRS = src 5SUBDIRS = src
diff --git a/configure.ac b/configure.ac
index 0d1ae58..483540f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,10 @@ CHECK_APACHE(,$AP_VERSION,
22MIN_TLS_VERSION=1.1.0 22MIN_TLS_VERSION=1.1.0
23CHECK_LIBGNUTLS($MIN_TLS_VERSION) 23CHECK_LIBGNUTLS($MIN_TLS_VERSION)
24 24
25CHECK_MEMCACHE
26
25MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" 27MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
26MODULE_LIBS="${LIBGNUTLS_LIBS}" 28MODULE_LIBS="${LIBGNUTLS_LIBS} ${LIBMEMCACHE_LIBS}"
27 29
28AC_SUBST(MODULE_CFLAGS) 30AC_SUBST(MODULE_CFLAGS)
29AC_SUBST(MODULE_LIBS) 31AC_SUBST(MODULE_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index ebbe176..05d2fab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
1CLEANFILES = .libs/libmod_gnutls *~ 1CLEANFILES = .libs/libmod_gnutls *~
2 2
3libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c 3libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c
4libmod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS} 4libmod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS}
5libmod_gnutls_la_LDFLAGS = ${MODULE_LIBS} 5libmod_gnutls_la_LDFLAGS = ${MODULE_LIBS}
6 6