summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2001-10-17 23:34:29 +0200
committerAaron Bannert <aaron@apache.org>2001-10-17 23:34:29 +0200
commitb8c5c7fe7a1cebc944bc9cf2c1eceb287fcd8020 (patch)
tree4e68a8716298bbb8e27d021c72298e3bc7749b8b /modules
parentget rid of a reference to access.conf (diff)
downloadapache2-b8c5c7fe7a1cebc944bc9cf2c1eceb287fcd8020.tar.xz
apache2-b8c5c7fe7a1cebc944bc9cf2c1eceb287fcd8020.zip
Gets VPATH builds working again. The problem was that apr.h is generated
by autoconf and then placed in the builddir, not the srcdir (which we didn't notice until we tried to do VPATH). When cpp couldn't find apr.h we would decide not to build mod_so, which is kinda bad. Now we include both paths when we test for APR_HAS_DSO and everyone is happy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/mappers/config9.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4
index 2aa8647845..d7f07c5f01 100644
--- a/modules/mappers/config9.m4
+++ b/modules/mappers/config9.m4
@@ -18,7 +18,7 @@ APACHE_MODULE(rewrite, regex URL translation, , , most, [
])
ap_old_cppflags=$CPPFLAGS
-CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include"
+CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include -I$abs_builddir/srclib/apr/include"
AC_TRY_COMPILE([#include <apr.h>],
[#if !APR_HAS_DSO
#error You need APR DSO support to use mod_so.