diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-11 08:30:15 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-11 08:30:15 +0000 |
commit | e22bdc0f9572b6a1a2304799d481b25b3e962f87 (patch) | |
tree | f25fbce46285d0d1b4081daaa632a6f24399b857 /sca-cpp/trunk/modules/http/httpd.hpp | |
parent | 030239cff2f98c0e7b2a66e1930008eed418e07d (diff) |
Improvements to autoconf build to make support for python, web service etc and relevant test cases optional and generate ac_defines used in ifdefs to check for debug and multithreading. Moved some optional code and test cases around to run them only when the tested features are built.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd.hpp')
-rw-r--r-- | sca-cpp/trunk/modules/http/httpd.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd.hpp b/sca-cpp/trunk/modules/http/httpd.hpp index e0c5d110c4..4a3e5d0f58 100644 --- a/sca-cpp/trunk/modules/http/httpd.hpp +++ b/sca-cpp/trunk/modules/http/httpd.hpp @@ -26,15 +26,11 @@ * HTTPD module implementation functions. */ -#include "string.hpp" -#include "stream.hpp" - #include "apr_strings.h" #include "apr_fnmatch.h" #include "apr_lib.h" #define APR_WANT_STRFUNC #include "apr_want.h" -#include "ap_config.h" #include "httpd.h" #include "http_config.h" @@ -48,9 +44,10 @@ #include "mod_core.h" +#include "string.hpp" +#include "stream.hpp" #include "list.hpp" #include "value.hpp" -#include "debug.hpp" namespace tuscany { @@ -120,7 +117,7 @@ const string contentType(const request_rec* r) { return optional(apr_table_get(r->headers_in, "Content-Type")); } -#ifdef _DEBUG +#ifdef WANT_MAINTAINER_MODE /** * Debug log. |