1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## Stolen from the fedora package
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Support "--enable-modules=none" to build an httpd binary with
6
## DP: no optional modules enabled.
9
diff -urNad trunk~/acinclude.m4 trunk/acinclude.m4
10
--- trunk~/acinclude.m4 2005-11-13 07:33:15.000000000 +0100
11
+++ trunk/acinclude.m4 2008-03-14 01:28:42.379287995 +0100
14
AC_ARG_ENABLE(modules,
15
APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable | "all" | "most"),[
16
- for i in $enableval; do
17
- if test "$i" = "all" -o "$i" = "most"; then
20
- i=`echo $i | sed 's/-/_/g'`
21
- eval "enable_$i=yes"
24
+ if test "$enableval" = "none"; then
26
+ module_selection=none
28
+ for i in $enableval; do
29
+ if test "$i" = "all" -o "$i" = "most"; then
32
+ i=`echo $i | sed 's/-/_/g'`
33
+ eval "enable_$i=yes"
39
AC_ARG_ENABLE(mods-shared,
40
diff -urNad trunk~/configure trunk/configure
41
--- trunk~/configure 2008-01-10 17:54:40.000000000 +0100
42
+++ trunk/configure 2008-03-14 01:31:55.675287371 +0100
43
@@ -8106,6 +8106,10 @@
44
# Check whether --enable-modules was given.
45
if test "${enable_modules+set}" = set; then
46
enableval=$enable_modules;
47
+ if test "$enableval" = "none"; then
49
+ module_selection=none
51
for i in $enableval; do
52
if test "$i" = "all" -o "$i" = "most"; then