Nobody objected:

<IfModule> now takes the module identifier in addition to the
filename.

CAUTION: this commit breaks the build on netware. It still needs
to be adjusted. (but I don't have any netware knowledge...)
Also, developers need to re-run buildconf on unices.

PR: 29003
Submitted by: Edward Rudd <eddie omegaware.com>, Andr� Malo


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2004-06-04 22:40:47 +00:00
parent 2a3bb01e71
commit 7accf16eed
11 changed files with 180 additions and 13 deletions

View File

@ -32,6 +32,7 @@ END {
print ""
print "#include \"ap_config.h\""
print "#include \"httpd.h\""
print "#define CORE_PRIVATE"
print "#include \"http_config.h\""
print ""
for (i = 0; i < pn; ++i) {
@ -53,6 +54,17 @@ END {
print "};"
print ""
print "/*"
print " * We need the symbols as strings for <IfModule> containers"
print " */"
print ""
print "ap_module_symbol_t ap_prelinked_module_symbols[] = {"
for (i = 0; i < n; ++i) {
printf (" {\"%s_module\", &%s_module},\n", modules[i], modules[i])
}
print " {NULL, NULL}"
print "};"
print ""
print "/*"
print " * Modules which initially form the"
print " * list of available modules on startup,"
print " * i.e. these are the modules which are"