diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2001-09-30 09:57:15 +0200 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2001-09-30 09:57:15 +0200 |
commit | f493313f3a47a5658d151d6dda35828ef3a6e9f6 (patch) | |
tree | 2719904382dd1d40974b0ecb74d9b1f08bcacd47 /server/mpm/config.m4 | |
parent | Remove unnecessary initialization and add a comment about chunk_hdr's (diff) | |
download | apache2-f493313f3a47a5658d151d6dda35828ef3a6e9f6.tar.xz apache2-f493313f3a47a5658d151d6dda35828ef3a6e9f6.zip |
Kill two autoconf-related birds with one commit.
- substr used in APACHE_MODULE for the help string did not parse correctly
with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING.
- Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+
(actually not 2.13 - look at the regex call) or do our custom variation
of it. This function can't have any extra spaces or it will be returned
in the help string. So noted. If anyone can figure out how to insert
a line break like 2.50+ does when we go over the 26th column, I'd
appreciate it. I tried and I'm way too tired to figure it out now.
Adding this would greatly simplify two or three HELP_STRING uses.
- Switch all of those annoying WITH and ENABLE functions to use the
APACHE_HELP_STRING. This makes everything consistent now. I've always
had to go through and keep aligning everything every few months or so
because I'm the only one who cares. No more. I refuse to do it any more!
Use APACHE_HELP_STRING or be crucified.
Looks decent with autoconf-2.13 and autoconf-2.52.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91211 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/config.m4')
-rw-r--r-- | server/mpm/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index 3cbd0cdfae..e817817603 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -1,7 +1,7 @@ AC_MSG_CHECKING(which MPM to use) AC_ARG_WITH(mpm, -[ --with-mpm=MPM Choose the process model for Apache to use. - MPM={beos,worker,threaded,prefork,spmt_os2,perchild}],[ +APACHE_HELP_STRING(--with-mpm=MPM,Choose the process model for Apache to use. + MPM={beos|worker|threaded|prefork|spmt_os2|perchild}),[ APACHE_MPM=$withval ],[ if test "x$APACHE_MPM" = "x"; then |