summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-03-04 07:27:27 +0100
committerRyan Bloom <rbb@apache.org>2001-03-04 07:27:27 +0100
commit3eeeb76fb482bae7400eac7a4562fe8475756afd (patch)
treec5860377471fc106a22b6b3a0a6661403556106f /build
parentmention the changes to Apache for PR #6980 (diff)
downloadapache2-3eeeb76fb482bae7400eac7a4562fe8475756afd.tar.xz
apache2-3eeeb76fb482bae7400eac7a4562fe8475756afd.zip
Move more code from the http module into the core server. This
is core code, basically the default handler, the default input and output filters, and all of the core configuration directives. All of this code is required in order for the server to work, with or without HTTP. The server is closer to working without the HTTP module, although there is still more to do. I tried to fix Windows, but somebody should probably make sure I did it correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88449 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/build-modules-c.awk10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/build-modules-c.awk b/build/build-modules-c.awk
index 7e22f56bf2..a44571f9ee 100644
--- a/build/build-modules-c.awk
+++ b/build/build-modules-c.awk
@@ -1,7 +1,7 @@
BEGIN {
RS = " "
- modules[n++] = ""
- pmodules[pn++] = ""
+ modules[n++] = "core"
+ pmodules[pn++] = "core"
}
{
modules[n] = $1;
@@ -21,7 +21,7 @@ END {
print "#include \"httpd.h\""
print "#include \"http_config.h\""
print ""
- for (i = 1; i < pn; ++i) {
+ for (i = 0; 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 =1 ; i < n; ++i) {
+ for (i = 0 ; 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 = 1; i < pn; ++i) {
+ for (i = 0; i < pn; ++i) {
printf " &%s_module,\n", pmodules[i]
}
print " NULL"