From 908ac62063482e9c5a7c7b1be0de6bb0b31435c4 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 21 Jun 2019 09:45:28 +0000 Subject: [PATCH] * configure.in: Move modules.c creation to config.status. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861769 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 24257a10fc..78d133f411 100644 --- a/configure.in +++ b/configure.in @@ -984,10 +984,6 @@ AC_MSG_NOTICE([]) APACHE_GEN_CONFIG_VARS -dnl ## Build modules.c -rm -f modules.c -echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c - APR_EXPAND_VAR(ap_prefix, $prefix) AC_DEFINE_UNQUOTED(HTTPD_ROOT, "${ap_prefix}", [Root directory of the Apache install area]) @@ -1050,6 +1046,11 @@ test -d docs/conf||$mkdir_p docs/conf AC_CONFIG_FILES(docs/conf/httpd.conf docs/conf/extra/httpd-autoindex.conf docs/conf/extra/httpd-dav.conf docs/conf/extra/httpd-default.conf docs/conf/extra/httpd-info.conf docs/conf/extra/httpd-languages.conf docs/conf/extra/httpd-manual.conf docs/conf/extra/httpd-mpm.conf docs/conf/extra/httpd-multilang-errordoc.conf docs/conf/extra/httpd-policy.conf docs/conf/extra/httpd-ssl.conf docs/conf/extra/httpd-userdir.conf docs/conf/extra/httpd-vhosts.conf docs/conf/extra/proxy-html.conf docs/conf/extra/httpd-macro.conf include/ap_config_layout.h support/apxs support/apachectl support/dbmmanage support/envvars-std support/log_server_status support/logresolve.pl support/phf_abuse_log.cgi support/split-logfile build/rules.mk build/pkg/pkginfo build/config_vars.sh) AC_CONFIG_COMMANDS([default], [true], [APACHE_GEN_MAKEFILES]) +AC_CONFIG_COMMANDS([modules.c], [ +## Build modules.c +rm -f modules.c +echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c +], [MODLIST="$MODLIST"]) AC_OUTPUT AC_MSG_NOTICE([summary of build options: -- 2.40.0