From: Jeff Trawick Date: Wed, 21 Nov 2001 18:32:27 +0000 (+0000) Subject: Bail out at configure time if an invalid MPM was specified. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19765ed0a45b945156de59758c15d5822cb70a35;p=apache Bail out at configure time if an invalid MPM was specified. Submitted by: jean-frederic clere Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92098 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 0527f520dc..a5ac206df3 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ Changes with Apache 2.0.29-dev + + *) Bail out at configure time if an invalid MPM was specified. + [jean-frederic clere ] + *) Prevent segv in ap_note_basic_auth_failure() when no AuthName is configured [John Sterling ] diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index 887bef18e1..8ca8ed9a08 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -22,6 +22,9 @@ if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild"; then apache_cv_mpm=prefork fi fi +if test ! -f "server/mpm/$apache_cv_mpm/mpm.h"; then + AC_MSG_ERROR(the selected mpm -- $apache_cv_mpm -- is not supported) +fi APACHE_FAST_OUTPUT(server/mpm/Makefile)