From d685f0a8e59b5e34ed1cfab4fa2c8a093ffdae9b Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 27 Apr 2001 18:29:11 +0000 Subject: [PATCH] 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 --- acinclude.m4 | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.1