httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r357168 - /httpd/httpd/trunk/acinclude.m4
Date Fri, 16 Dec 2005 14:46:58 GMT
Author: jorton
Date: Fri Dec 16 06:46:54 2005
New Revision: 357168

URL: http://svn.apache.org/viewcvs?rev=357168&view=rev
Log:
* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to
--enable-modules to build an httpd with no optional modules enabled.

Modified:
    httpd/httpd/trunk/acinclude.m4

Modified: httpd/httpd/trunk/acinclude.m4
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/acinclude.m4?rev=357168&r1=357167&r2=357168&view=diff
==============================================================================
--- httpd/httpd/trunk/acinclude.m4 (original)
+++ httpd/httpd/trunk/acinclude.m4 Fri Dec 16 06:46:54 2005
@@ -288,15 +288,20 @@
   module_default=yes
 
   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
+  APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable
| "all" | "most" | "none"),[
+    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,



Mime
View raw message