summaryrefslogtreecommitdiffstats
path: root/httpd-2.1.10-disablemods.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-10-01 18:09:27 +0200
committerRemi Collet <fedora@famillecollet.com>2010-10-01 18:09:27 +0200
commitb8a434bc812f9a44fa1ec05e735e57ef6ef74e01 (patch)
treec0424acf75b609c85103fa42bd90f7e600d2132f /httpd-2.1.10-disablemods.patch
import httpd 2.2.16
Diffstat (limited to 'httpd-2.1.10-disablemods.patch')
-rw-r--r--httpd-2.1.10-disablemods.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/httpd-2.1.10-disablemods.patch b/httpd-2.1.10-disablemods.patch
new file mode 100644
index 0000000..7e938e4
--- /dev/null
+++ b/httpd-2.1.10-disablemods.patch
@@ -0,0 +1,36 @@
+
+Support "--enable-modules=none" to build an httpd binary with
+no optional modules enabled.
+
+Upstream-Status: committed to trunk, r357168
+
+--- httpd-2.1.10/acinclude.m4.disablemods
++++ httpd-2.1.10/acinclude.m4
+@@ -289,14 +289,19 @@
+
+ AC_ARG_ENABLE(modules,
+ APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable | "all" | "most"),[
+- for i in $enableval; do
+- if test "$i" = "all" -o "$i" = "most"; then
+- module_selection=$i
+- else
+- i=`echo $i | sed 's/-/_/g'`
+- eval "enable_$i=yes"
+- fi
+- done
++ if test "$enableval" = "none"; then
++ module_default=no
++ module_selection=none
++ else
++ for i in $enableval; do
++ if test "$i" = "all" -o "$i" = "most"; then
++ module_selection=$i
++ else
++ i=`echo $i | sed 's/-/_/g'`
++ eval "enable_$i=yes"
++ fi
++ done
++ fi
+ ])
+
+ AC_ARG_ENABLE(mods-shared,