You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/12/05 04:40:35 UTC
cvs commit: httpd-2.0/build build-modules-c.awk
rbb 00/12/04 19:40:34
Modified: build build-modules-c.awk
Log:
Do not automatically add the core module to the modules.c file. This
module will be added when we build it.
Revision Changes Path
1.4 +5 -5 httpd-2.0/build/build-modules-c.awk
Index: build-modules-c.awk
===================================================================
RCS file: /home/cvs/httpd-2.0/build/build-modules-c.awk,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build-modules-c.awk 2000/01/28 18:00:46 1.3
+++ build-modules-c.awk 2000/12/05 03:40:34 1.4
@@ -1,7 +1,7 @@
BEGIN {
RS = " "
- modules[n++] = "core"
- pmodules[pn++] = "core"
+ modules[n++] = ""
+ pmodules[pn++] = ""
}
{
modules[n] = $1;
@@ -21,7 +21,7 @@
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 @@
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 @@
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"