summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7f1c9e6..bcbc312 100644
--- a/configure.in
+++ b/configure.in
@@ -96,9 +96,15 @@ fi
AC_SUBST(APACHECTL)
-APACHE_CFLAGS="-I`${APXS} -q INCLUDEDIR` -I`${apr_config} --includedir --cppflags`"
+APR_CFLAGS="-I`$apr_config --includedir --cppflags`"
+APACHE_CFLAGS="-I`$APXS -q INCLUDEDIR` $APR_CFLAGS"
+APR_LIBS="`$apr_config --link-ld --libs` -laprutil-1"
+
+AC_SUBST(APR_CFLAGS)
+AC_SUBST(APR_LIBS)
AC_SUBST(APACHE_CFLAGS)
+
# ------------------------------------------------------------------------------------
# OPKELE
@@ -123,6 +129,7 @@ fi
AC_CONFIG_FILES([
Makefile
module/Makefile
+ tests/Makefile
])
AC_OUTPUT