summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-04-27 18:29:11 +0000
committerJeff Trawick <trawick@apache.org>2001-04-27 18:29:11 +0000
commitd685f0a8e59b5e34ed1cfab4fa2c8a093ffdae9b (patch)
tree3bf72b493418d7e49c66e07266299daa8c8fdb02
parent464de0abc146645170bdc59046ccf2a9791883ab (diff)
downloadhttpd-d685f0a8e59b5e34ed1cfab4fa2c8a093ffdae9b.tar.gz
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
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
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