From ed47098c757860a9444fd6de621699a951900211 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Thu, 2 Dec 2004 21:24:30 +0000 Subject: adding autofoo for memcache support --- Makefile.am | 4 +++- configure.ac | 4 +++- src/Makefile.am | 2 +- 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 @@ -EXTRA_DIST = m4/outoforder.m4 m4/apache.m4 +EXTRA_DIST = m4/outoforder.m4 m4/apache.m4 m4/libgnutls.m4 m4/libmemcache.m4 \ + include/mod_gnutls.h include/memcache.h \ + NOTICE LICENSE autogen.sh SUBDIRS = 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, MIN_TLS_VERSION=1.1.0 CHECK_LIBGNUTLS($MIN_TLS_VERSION) +CHECK_MEMCACHE + MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" -MODULE_LIBS="${LIBGNUTLS_LIBS}" +MODULE_LIBS="${LIBGNUTLS_LIBS} ${LIBMEMCACHE_LIBS}" AC_SUBST(MODULE_CFLAGS) AC_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 @@ CLEANFILES = .libs/libmod_gnutls *~ -libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c +libmod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c libmod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS} libmod_gnutls_la_LDFLAGS = ${MODULE_LIBS} -- cgit