From: Martin Kraemer Date: Mon, 15 Dec 2003 14:11:35 +0000 (+0000) Subject: Mention in the comment that we expect a _space_separated_ list of module X-Git-Tag: pre_ajp_proxy~921 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acd83dc5695e4e7d9a1ec7e974763a98db9fd7bb;p=apache Mention in the comment that we expect a _space_separated_ list of module 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 --- diff --git a/acinclude.m4 b/acinclude.m4 index 5de3ddf417..3764327a69 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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