summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorKaspar Brand <kbrand@apache.org>2012-09-16 08:19:13 +0200
committerKaspar Brand <kbrand@apache.org>2012-09-16 08:19:13 +0200
commit089f0eb0ac7b1ef567ef5e3c0e2b953624dc0569 (patch)
tree009d5a6f579fb91810b5338d5bb6c215a9fc4902 /configure.in
parentrevert r1385214, as I inadvertently left out acinclude.m4. (diff)
downloadapache2-089f0eb0ac7b1ef567ef5e3c0e2b953624dc0569.tar.xz
apache2-089f0eb0ac7b1ef567ef5e3c0e2b953624dc0569.zip
Spin off module-specific build options into separate build vars.
[second try, supersedes r1385214] Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands, which are available to modules for customization on a per-subdir basis (by adding definitions to modules.mk). Reduces the risk of side-effects when a module needs to add CFLAGS, LDFLAGS etc. and these would be added to the global settings (ALL_CFLAGS etc.). Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate, mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx build variables. Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where they appear at the proper position in the build commands. Consistently use "--with-xxx=PATH" in configure help strings which are used to specify a path to the installation directory of an auxiliary package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385216 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4ae175106b..c4c17591ce 100644
--- a/configure.in
+++ b/configure.in
@@ -644,8 +644,8 @@ if test "$enable_pie" = "yes"; then
AC_ERROR([--enable-pie requested but $CC failed using PIE flags])
fi
fi
-AC_SUBST(PICFLAGS)
-AC_SUBST(PILDFLAGS)
+APACHE_SUBST(PICFLAGS)
+APACHE_SUBST(PILDFLAGS)
prefix="$orig_prefix"
APACHE_ENABLE_MODULES