[nginx] Configure: handle deprecated options.

Ruslan Ermilov ru at nginx.com
Wed Apr 29 12:28:25 UTC 2015


details:   http://hg.nginx.org/nginx/rev/162b2d27d4e1
branches:  
changeset: 6143:162b2d27d4e1
user:      Ruslan Ermilov <ru at nginx.com>
date:      Wed Apr 29 14:59:02 2015 +0300
description:
Configure: handle deprecated options.

Removed the deprecated --without-http_limit_zone_module option.
Deprecated the --with-imap and --with-imap_ssl_module options.

diffstat:

 auto/options |  20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 53bccdc4923a -r 162b2d27d4e1 auto/options
--- a/auto/options	Wed Apr 29 13:53:24 2015 +0300
+++ b/auto/options	Wed Apr 29 14:59:02 2015 +0300
@@ -243,12 +243,6 @@ do
         --without-http_uwsgi_module)     HTTP_UWSGI=NO              ;;
         --without-http_scgi_module)      HTTP_SCGI=NO               ;;
         --without-http_memcached_module) HTTP_MEMCACHED=NO          ;;
-        --without-http_limit_zone_module)
-            HTTP_LIMIT_CONN=NO
-            NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
-$0: warning: the \"--without-http_limit_zone_module\" option is deprecated, \
-use the \"--without-http_limit_conn_module\" option instead"
-        ;;
         --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO        ;;
         --without-http_limit_req_module) HTTP_LIMIT_REQ=NO         ;;
         --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO          ;;
@@ -270,8 +264,18 @@ use the \"--without-http_limit_conn_modu
         --with-mail)                     MAIL=YES                   ;;
         --with-mail_ssl_module)          MAIL_SSL=YES               ;;
         # STUB
-        --with-imap)                     MAIL=YES                   ;;
-        --with-imap_ssl_module)          MAIL_SSL=YES               ;;
+        --with-imap)
+            MAIL=YES
+            NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
+$0: warning: the \"--with-imap\" option is deprecated, \
+use the \"--with-mail\" option instead"
+        ;;
+        --with-imap_ssl_module)
+            MAIL_SSL=YES
+            NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
+$0: warning: the \"--with-imap_ssl_module\" option is deprecated, \
+use the \"--with-mail_ssl_module\" option instead"
+        ;;
         --without-mail_pop3_module)      MAIL_POP3=NO               ;;
         --without-mail_imap_module)      MAIL_IMAP=NO               ;;
         --without-mail_smtp_module)      MAIL_SMTP=NO               ;;



More information about the nginx-devel mailing list