summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-11-08 00:20:24 +0000
committerStefan Fritsch <sf@apache.org>2011-11-08 00:20:24 +0000
commit4a36c5ba4cf03c721ef8c0ce69f42c2d1fd5648e (patch)
treecfa42ba50105efb10ebbe0f1f2fab1f38b508f3b /Makefile.in
parent63a4102253e55604d89ccef0f0a2bc3fa1d9775d (diff)
downloadhttpd-4a36c5ba4cf03c721ef8c0ce69f42c2d1fd5648e.tar.gz
By default, only load those modules that are either required
or explicitly selected by a configure --enable-foo argument. The LoadModule statements for modules enabled by --enable-mods-shared=most and friends will be commented out. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199027 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c3b182df1b..6a3c7b9684 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -60,7 +60,11 @@ install-conf:
< $$i; \
for j in $(DSO_MODULES) "^EOL^"; do \
if test $$j != "^EOL^"; then \
- echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
+ if echo "$(ENABLED_DSO_MODULES)"|$(EGREP) "\<$$j\>" > /dev/null ; then \
+ echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
+ else \
+ echo "#LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
+ fi; \
fi; \
done; \
sed -e '1,/@@LoadModule@@/d' \