nginx-0.0.10-2004-09-14-09:45:22 import
diff --git a/auto/options b/auto/options
index 18909d6..132c35d 100644
--- a/auto/options
+++ b/auto/options
@@ -161,6 +161,18 @@
 fi
 
 
+if [ $HTTP = NO ]; then
+    HTTP_CHARSET=NO
+    HTTP_GZIP=NO
+    HTTP_SSI=NO
+    HTTP_USERID=NO
+    HTTP_ACCESS=NO
+    HTTP_STATUS=NO
+    HTTP_REWRITE=NO
+    HTTP_PROXY=NO
+fi
+
+
 if [ ".$PLATFORM" = ".win32" -a $EVENT_POLL = YES ]; then
     EVENT_POLL=NO
     echo "$0: warning: --with-poll_module option is ignored for win32"