From: Ryan Bloom Date: Tue, 5 Dec 2000 03:40:34 +0000 (+0000) Subject: Do not automatically add the core module to the modules.c file. This X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17ef9ea325d26560e61961c8b6993a0cab21f3ed;p=apache Do not automatically add the core module to the modules.c file. This module will be added when we build it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87194 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/build-modules-c.awk b/build/build-modules-c.awk index 15ff82ccfb..7e22f56bf2 100644 --- a/build/build-modules-c.awk +++ b/build/build-modules-c.awk @@ -1,7 +1,7 @@ BEGIN { RS = " " - modules[n++] = "core" - pmodules[pn++] = "core" + modules[n++] = "" + pmodules[pn++] = "" } { modules[n] = $1; @@ -21,7 +21,7 @@ END { print "#include \"httpd.h\"" print "#include \"http_config.h\"" print "" - for (i = 0; i < pn; ++i) { + for (i = 1; i < pn; ++i) { printf ("extern module %s_module;\n", pmodules[i]) } print "" @@ -33,7 +33,7 @@ END { print " * [extendable under run-time via AddModule]" print " */" print "module *ap_prelinked_modules[] = {" - for (i = 0; i < n; ++i) { + for (i =1 ; i < n; ++i) { printf " &%s_module,\n", modules[i] } print " NULL" @@ -47,7 +47,7 @@ END { print " * [extendable under run-time via LoadModule]" print " */" print "module *ap_preloaded_modules[] = {" - for (i = 0; i < pn; ++i) { + for (i = 1; i < pn; ++i) { printf " &%s_module,\n", pmodules[i] } print " NULL"