From a901466292faa5ce217b0c34372b4d624d9cd7b8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Apr 2007 12:34:26 +0000 Subject: update for apache 2.2 git-svn-id: file:///home/lennart/svn/public/mod_dnssd/trunk@61 634eccf8-0006-0410-930e-e16565b0b7de --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0caff4b..b382d2f 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # permissions and limitations under the License. AC_PREREQ(2.59) -AC_INIT([mod_dnssd],[0.4],[mzzbqqaffq (at) 0pointer (dot) net]) +AC_INIT([mod_dnssd],[0.5],[mzzbqqaffq (at) 0pointer (dot) net]) AC_CONFIG_SRCDIR([src/mod_dnssd.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign 1.9 -Wall]) @@ -76,6 +76,12 @@ if test "x$GCC" = "xyes" ; then done fi +PKG_PROG_PKG_CONFIG + +PKG_CHECK_MODULES(APR, [ apr-1]) +CFLAGS="$APR_CFLAGS $CFLAGS" +LIBS="$APR_LIBS $LIBS" + AC_ARG_WITH(apxs, AS_HELP_STRING(--with-apxs=PATH,/path/to/apxs), [ AC_PATH_PROGS(APXS, [apxs2 apxs], "notfound", "$withval:$PATH") ], -- cgit