Commit 39cbc644 authored by Joe Orton's avatar Joe Orton
Browse files

* acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" to

--enable-modules to build an httpd with no optional modules enabled.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357168 13f79535-47bb-0310-9956-ffa450edef68
parent a34a19e4
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
@@ -288,7 +288,11 @@ AC_DEFUN(APACHE_ENABLE_MODULES,[
  module_default=yes

  AC_ARG_ENABLE(modules,
  APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable | "all" | "most"),[
  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
@@ -297,6 +301,7 @@ AC_DEFUN(APACHE_ENABLE_MODULES,[
          eval "enable_$i=yes"
        fi
      done
    fi
  ])
  
  AC_ARG_ENABLE(mods-shared,