Commit a03bb3d2 authored by Paul Querna's avatar Paul Querna
Browse files

Since prefork is currently the only non-threaded MPM, check for it, instead of...

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
parent 9e2374cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)