From: Aaron Bannert Date: Wed, 17 Oct 2001 21:34:29 +0000 (+0000) Subject: Gets VPATH builds working again. The problem was that apr.h is generated X-Git-Tag: 2.0.27~100 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=b8c5c7fe7a1cebc944bc9cf2c1eceb287fcd8020;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index 2aa86478457..d7f07c5f01f 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 ], [#if !APR_HAS_DSO #error You need APR DSO support to use mod_so.