]> granicus.if.org Git - apache/commitdiff
Exclude MPM modules from automatic LoadModule
authorRainer Jung <rjung@apache.org>
Mon, 8 Feb 2016 19:45:17 +0000 (19:45 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 8 Feb 2016 19:45:17 +0000 (19:45 +0000)
enabling when configure was called with
-enable-load-all-modules. The default MPM
should still get enabled automatically.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729235 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index 29f1ab718bc8f2835713db815985bf6628d379f8..755d0b2969182b1ee8ad205a0dd468ff890c8935 100644 (file)
@@ -74,9 +74,10 @@ install-conf:
                                                        loading_disabled=""; \
                                                else \
                                                        loading_disabled="#"; \
-                                               fi; \
-                                               if test "$(LOAD_ALL_MODULES)" = "yes"; then \
-                                                       loading_disabled=""; \
+                                                       mpm=`echo $$j|sed s/_.*//`; \
+                                                       if test "$(LOAD_ALL_MODULES)" = "yes" -a "$$mpm" != "mpm"; then \
+                                                               loading_disabled=""; \
+                                                       fi; \
                                                fi; \
                                                        if test $$j = "cgid" -a "$$have_cgi" = "1"; then \
                                                                echo "<IfModule !mpm_prefork_module>"; \