From f63af9f497435e41de55c8af539f468f2924634a Mon Sep 17 00:00:00 2001 From: Wilfredo Sanchez Date: Thu, 28 Nov 2002 23:02:44 +0000 Subject: [PATCH] Use $INCLUDES rather than adding yet another place to edit include dirs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97669 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/config.m4 | 2 +- modules/filters/config.m4 | 2 +- modules/mappers/config9.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index 8579d33b4d..1d6d4632ef 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -36,7 +36,7 @@ dnl these are the front-end authentication modules APACHE_MODULE(auth_basic, basic authentication, , , yes) APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [ ap_old_cppflags=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include -I$abs_builddir/srclib/apr/include" + CPPFLAGS="$CPPFLAGS $INCLUDES" AC_TRY_COMPILE([#include ], [ #if !APR_HAS_RANDOM #error You need APR random support to use mod_auth_digest. diff --git a/modules/filters/config.m4 b/modules/filters/config.m4 index 80b4ea37ce..726dfe2963 100644 --- a/modules/filters/config.m4 +++ b/modules/filters/config.m4 @@ -42,7 +42,7 @@ APACHE_MODULE(deflate, Deflate transfer encoding support, , , no, [ if test "$ap_zlib_base" != "/usr"; then APR_ADDTO(INCLUDES, [-I${ap_zlib_base}/include]) dnl put in CPPFLAGS temporarily so that AC_TRY_LINK below will work - CPPFLAGS="$CPPFLAGS -I${ap_zlib_base}/include" + CPPFLAGS="$CPPFLAGS $INCLUDES" APR_ADDTO(LDFLAGS, [-L${ap_zlib_base}/lib]) if test "x$ap_platform_runtime_link_flag" != "x"; then APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag${ap_zlib_base}/lib]) diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index 60b9138ffc..5b8a6587a3 100644 --- a/modules/mappers/config9.m4 +++ b/modules/mappers/config9.m4 @@ -23,7 +23,7 @@ elif test "$enable_so" = "shared"; then fi ap_old_cppflags=$CPPFLAGS -CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include -I$abs_builddir/srclib/apr/include" +CPPFLAGS="$CPPFLAGS $INCLUDES" AC_TRY_COMPILE([#include ], [ #if !APR_HAS_DSO #error You need APR DSO support to use mod_so. -- 2.40.0