From: Paul Querna Date: Tue, 8 Mar 2005 22:06:59 +0000 (+0000) Subject: Since prefork is currently the only non-threaded MPM, check for it, instead of testin... X-Git-Tag: 2.1.4~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73f6528c2b627ba3684fcfe17c003ded21b953ab;p=thirdparty%2Fapache%2Fhttpd.git Since prefork is currently the only non-threaded MPM, check for it, instead of testing for each threaded MPM type. This enables mod_cgid on the Event MPM by default, which is a "Good Thing"(tm). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156572 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/config5.m4 b/modules/generators/config5.m4 index f88ce33bff7..c0a300f0221 100644 --- a/modules/generators/config5.m4 +++ b/modules/generators/config5.m4 @@ -11,7 +11,7 @@ APACHE_MODULE(info, server information, , , most) APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [ other_targets=suexec ] ) -if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild"; then +if test "$apache_cv_mpm" != "prefork"; then # if we are using a threaded MPM, we will get better performance with # mod_cgid, so make it the default. APACHE_MODULE(cgid, CGI scripts, , , yes)