You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/04/27 20:29:12 UTC

cvs commit: httpd-2.0 acinclude.m4

trawick     01/04/27 11:29:12

  Modified:    .        acinclude.m4
  Log:
  Allow module names to be hyphenated in the --enable-mods-shared
  argument.  Previously, we passed through a user-specified hyphen into
  the name of the shell variable, yielding an invalid variable name.
  
  Revision  Changes    Path
  1.77      +1 -0      httpd-2.0/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/acinclude.m4,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- acinclude.m4	2001/04/03 23:47:39	1.76
  +++ acinclude.m4	2001/04/27 18:29:11	1.77
  @@ -372,6 +372,7 @@
           module_selection=$i
           module_default=shared
         else
  +        i=`echo $i | sed 's/-/_/g'`
       	eval "enable_$i=shared"
         fi
       done