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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95d3ab5de2a772663c6bba1ee99387a8884489b9;p=apache 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 ad19ac8e90..cb68180d92 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 ad19ac8e90..cb68180d92 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 4bba8a20cb..4617268747 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"