summaryrefslogtreecommitdiffstats
path: root/modules/http/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'modules/http/config.m4')
-rw-r--r--modules/http/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/http/config.m4 b/modules/http/config.m4
index 6d581e586d..da29de1a79 100644
--- a/modules/http/config.m4
+++ b/modules/http/config.m4
@@ -7,5 +7,8 @@ http_objects="http_core.lo http_protocol.lo http_request.lo"
APACHE_MODULE(http, HTTP protocol handling, $http_objects, , yes)
APACHE_MODULE(mime, mapping of file-extension to MIME, , , yes)
+if test "$enable_http" = "yes"; then
+ AC_DEFINE(AP_HTTP_ENABLED, 1, [HTTP is enabled on this server])
+fi
APACHE_MODPATH_FINISH