4 pmodules[pn++] = "core"
6 { modules[n++] = $1 ; pmodules[pn++] = $1 }
9 print " * modules.c --- automatically generated by Apache"
10 print " * configuration script. DO NOT HAND EDIT!!!!!"
13 print "#include \"httpd.h\""
14 print "#include \"http_config.h\""
16 for (i = 0; i < pn; ++i) {
17 printf ("extern module %s_module;\n", pmodules[i])
21 print " * Modules which implicitly form the"
22 print " * list of activated modules on startup,"
23 print " * i.e. these are the modules which are"
24 print " * initially linked into the Apache processing"
25 print " * [extendable under run-time via AddModule]"
27 print "module *ap_prelinked_modules[] = {"
28 for (i = 0; i < n; ++i) {
29 printf " &%s_module,\n", modules[i]
35 print " * Modules which initially form the"
36 print " * list of available modules on startup,"
37 print " * i.e. these are the modules which are"
38 print " * initially loaded into the Apache process"
39 print " * [extendable under run-time via LoadModule]"
41 print "module *ap_preloaded_modules[] = {"
42 for (i = 0; i < pn; ++i) {
43 printf " &%s_module,\n", pmodules[i]