]> granicus.if.org Git - apache/commitdiff
tell the user what's going if APR threads aren't unavailable, and Apache
authorGreg Ames <gregames@apache.org>
Tue, 3 Apr 2001 02:15:35 +0000 (02:15 +0000)
committerGreg Ames <gregames@apache.org>
Tue, 3 Apr 2001 02:15:35 +0000 (02:15 +0000)
is using a threaded MPM.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88681 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/mpm/threaded/threaded.c

index ad19ac8e90780dccddad371994cb5e162c9b8554..cb68180d925101b2060c30fdc216463503dbfe66 100644 (file)
 #include <sys/socket.h>
 #endif
 
+#if !APR_HAVE_THREADS
+#error The perchild MPM requires APR threads, but they are unavailable.
+#endif  
+
 #define CORE_PRIVATE 
  
 #include "ap_config.h"
index ad19ac8e90780dccddad371994cb5e162c9b8554..cb68180d925101b2060c30fdc216463503dbfe66 100644 (file)
 #include <sys/socket.h>
 #endif
 
+#if !APR_HAVE_THREADS
+#error The perchild MPM requires APR threads, but they are unavailable.
+#endif  
+
 #define CORE_PRIVATE 
  
 #include "ap_config.h"
index 4bba8a20cb4a502aff8e1417fe4c4e05b997f68a..461726874746c84198d55447f7fce0b70380b3ac 100644 (file)
 #include <sys/wait.h> 
 #endif
 
+#if !APR_HAVE_THREADS
+#error The threaded MPM requires APR threads, but they are unavailable.
+#endif
+
 #define CORE_PRIVATE 
  
 #include "ap_config.h"