summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
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") ],