changeset 424:84c527908237

nginx-0.0.10-2004-09-14-09:45:22 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 14 Sep 2004 05:45:22 +0000
parents fda5987b188d
children bd39260a1383
files auto/options auto/summary src/http/ngx_http_config.h src/imap/ngx_imap.h
diffstat 4 files changed, 39 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/auto/options
+++ b/auto/options
@@ -161,6 +161,18 @@ if [ $help = yes ]; then
 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"
--- a/auto/summary
+++ b/auto/summary
@@ -8,32 +8,32 @@ if [ $USE_PCRE = DISABLED ]; then
 
 else
     case $PCRE in
-        YES)   echo " + using system PCRE library" ;;
-        NONE)  echo " + PCRE library is not used" ;;
-        NO)    echo " + PCRE library is not found" ;;
-        *)     echo " + using PCRE library: $PCRE" ;;
+        YES)   echo "  using system PCRE library" ;;
+        NONE)  echo "  PCRE library is not used" ;;
+        NO)    echo "  PCRE library is not found" ;;
+        *)     echo "  using PCRE library: $PCRE" ;;
     esac
 fi
 
 case $MD5 in
-    YES)   echo " + md5: using system $MD5_LIB library" ;;
-    NONE)  echo " + md5 library is not used" ;;
-    NO)    echo " + md5 library is not found" ;;
-    *)     echo " + using md5 library: $MD5" ;;
+    YES)   echo "  md5: using system $MD5_LIB library" ;;
+    NONE)  echo "  md5 library is not used" ;;
+    NO)    echo "  md5 library is not found" ;;
+    *)     echo "  using md5 library: $MD5" ;;
 esac
 
 case $OPENSSL in
-    YES)   echo " + using system OpenSSL library" ;;
-    NONE)  echo " + OpenSSL library is not used" ;;
-    NO)    echo " + OpenSSL library is not found" ;;
-    *)     echo " + using OpenSSL library: $OPENSSL" ;;
+    YES)   echo "  using system OpenSSL library" ;;
+    NONE)  echo "  OpenSSL library is not used" ;;
+    NO)    echo "  OpenSSL library is not found" ;;
+    *)     echo "  using OpenSSL library: $OPENSSL" ;;
 esac
 
 case $ZLIB in
-    YES)   echo " + using system zlib library" ;;
-    NONE)  echo " + zlib library is not used" ;;
-    NO)    echo " + zlib library is not found" ;;
-    *)     echo " + using zlib library: $ZLIB" ;;
+    YES)   echo "  using system zlib library" ;;
+    NONE)  echo "  zlib library is not used" ;;
+    NO)    echo "  zlib library is not found" ;;
+    *)     echo "  using zlib library: $ZLIB" ;;
 esac
 
 echo
@@ -65,10 +65,10 @@ if [ $HTTP_GZIP = YES ]; then
 fi
 
 
-echo " nginx path prefix: $PREFIX"
-echo " nginx binary file: $SBIN_PATH"
-echo " nginx configuration file: $CONF_PATH"
-echo " nginx pid file: $PID_PATH"
-echo " nginx error log file: $ERROR_LOG_PATH"
-echo " nginx http access log file: $HTTP_LOG_PATH"
+echo "  nginx path prefix: $PREFIX"
+echo "  nginx binary file: $SBIN_PATH"
+echo "  nginx configuration file: $CONF_PATH"
+echo "  nginx pid file: $PID_PATH"
+echo "  nginx error log file: $ERROR_LOG_PATH"
+echo "  nginx http access log file: $HTTP_LOG_PATH"
 echo
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -45,7 +45,7 @@ typedef struct {
 
 /*
  * ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
- * msut not be used because at the merge phase cf->ctx points to http{}'s ctx
+ * must not be used at the merge phase because cf->ctx points to http{}'s ctx
  */
 
 #define ngx_http_conf_get_module_main_conf(cf, module)                        \
--- a/src/imap/ngx_imap.h
+++ b/src/imap/ngx_imap.h
@@ -66,9 +66,11 @@ typedef struct {
 #define NGX_IMAP_PROXY_ERROR    11
 
 
-#define NGX_IMAP_MODULE    0x50414D49     /* "IMAP" */
+#define NGX_IMAP_MODULE      0x50414D49     /* "IMAP" */
 
-#define NGX_IMAP_CONF      0x02000000
+#define NGX_IMAP_SRV_CONF    0x02000000
+#define NGX_IMAP_IMAP_CONF   0x04000000
+#define NGX_IMAP_POP3_CONF   0x08000000
 
 
 void ngx_imap_init_connection(ngx_connection_t *c);