From: Jeff Trawick Date: Fri, 27 Apr 2001 18:29:11 +0000 (+0000) Subject: Allow module names to be hyphenated in the --enable-mods-shared X-Git-Tag: 2.0.18~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d685f0a8e59b5e34ed1cfab4fa2c8a093ffdae9b;p=apache 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88956 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 56d962db70..8832270546 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -372,6 +372,7 @@ AC_DEFUN(APACHE_ENABLE_MODULES,[ module_selection=$i module_default=shared else + i=`echo $i | sed 's/-/_/g'` eval "enable_$i=shared" fi done