4 pmodules[pn++] = "core"
9 gsub("\n","",modules[n]);
10 gsub("\n","",pmodules[pn]);
16 print " * modules.c --- automatically generated by Apache"
17 print " * configuration script. DO NOT HAND EDIT!!!!!"
20 print "#include \"httpd.h\""
21 print "#include \"http_config.h\""
23 for (i = 0; i < pn; ++i) {
24 printf ("extern module %s_module;\n", pmodules[i])
28 print " * Modules which implicitly form the"
29 print " * list of activated modules on startup,"
30 print " * i.e. these are the modules which are"
31 print " * initially linked into the Apache processing"
32 print " * [extendable under run-time via AddModule]"
34 print "module *ap_prelinked_modules[] = {"
35 for (i = 0; i < n; ++i) {
36 printf " &%s_module,\n", modules[i]
42 print " * Modules which initially form the"
43 print " * list of available modules on startup,"
44 print " * i.e. these are the modules which are"
45 print " * initially loaded into the Apache process"
46 print " * [extendable under run-time via LoadModule]"
48 print "module *ap_preloaded_modules[] = {"
49 for (i = 0; i < pn; ++i) {
50 printf " &%s_module,\n", pmodules[i]