From: Greg Ames Date: Tue, 3 Apr 2001 02:15:35 +0000 (+0000) Subject: tell the user what's going if APR threads aren't unavailable, and Apache X-Git-Tag: 2.0.16~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d3ab5de2a772663c6bba1ee99387a8884489b9;p=thirdparty%2Fapache%2Fhttpd.git tell the user what's going if APR threads aren't unavailable, and Apache is using a threaded MPM. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88681 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index ad19ac8e907..cb68180d925 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -73,6 +73,10 @@ #include #endif +#if !APR_HAVE_THREADS +#error The perchild MPM requires APR threads, but they are unavailable. +#endif + #define CORE_PRIVATE #include "ap_config.h" diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index ad19ac8e907..cb68180d925 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -73,6 +73,10 @@ #include #endif +#if !APR_HAVE_THREADS +#error The perchild MPM requires APR threads, but they are unavailable. +#endif + #define CORE_PRIVATE #include "ap_config.h" diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index 4bba8a20cb4..46172687474 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -73,6 +73,10 @@ #include #endif +#if !APR_HAVE_THREADS +#error The threaded MPM requires APR threads, but they are unavailable. +#endif + #define CORE_PRIVATE #include "ap_config.h"