]> granicus.if.org Git - apache/commitdiff
Mention in the comment that we expect a _space_separated_ list of module
authorMartin Kraemer <martin@apache.org>
Mon, 15 Dec 2003 14:11:35 +0000 (14:11 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 15 Dec 2003 14:11:35 +0000 (14:11 +0000)
names. Translate '-' to '_' so that the shell does not complain about
invalid variable names.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102065 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index 5de3ddf417740ce1ea72dbb82749feb58b99fd74..3764327a69853aeaa70c928bce1acf4457f59e5c 100644 (file)
@@ -279,18 +279,19 @@ AC_DEFUN(APACHE_ENABLE_MODULES,[
   module_default=yes
 
   AC_ARG_ENABLE(modules,
-  APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Modules to enable),[
+  APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable),[
     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
   ])
   
   AC_ARG_ENABLE(mods-shared,
-  APACHE_HELP_STRING(--enable-mods-shared=MODULE-LIST,Shared modules to enable),[
+  APACHE_HELP_STRING(--enable-mods-shared=MODULE-LIST,Space-separated list of shared modules to enable),[
     for i in $enableval; do
       if test "$i" = "all" -o "$i" = "most"; then
         module_selection=$i