httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0 acinclude.m4
Date Mon, 15 Dec 2003 14:11:35 GMT
martin      2003/12/15 06:11:35

  Modified:    .        acinclude.m4
  Log:
  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.
  
  Revision  Changes    Path
  1.146     +3 -2      httpd-2.0/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/acinclude.m4,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -u -r1.145 -r1.146
  --- acinclude.m4	10 Jul 2003 19:29:24 -0000	1.145
  +++ acinclude.m4	15 Dec 2003 14:11:35 -0000	1.146
  @@ -279,18 +279,19 @@
     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
  
  
  

Mime
View raw message