diff auto/feature @ 168:3314be145cb9 NGINX_0_3_31

nginx 0.3.31 *) Change: now nginx passes the malformed proxied backend responses. *) Feature: the "listen" directives support the address in the "*:port" form. *) Feature: the EVFILER_TIMER support in MacOSX 10.4. *) Workaround: for MacOSX 64-bit kernel kqueue millisecond timeout bug. Thanks to Andrei Nigmatulin. *) Bugfix: if there were several "listen" directives listening one various addresses inside one server, then server names like "*.domain.tld" worked for first address only; bug appeared in 0.3.18. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive and the request body was in temporarily file then the request was not transferred. *) Bugfix: perl 5.8.8 compatibility.
author Igor Sysoev <http://sysoev.ru>
date Fri, 10 Mar 2006 00:00:00 +0300
parents 91372f004adf
children 003bd800ec2a
line wrap: on
line diff
--- a/auto/feature
+++ b/auto/feature
@@ -39,29 +39,46 @@ eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&
 
 if [ -x $NGX_AUTOTEST ]; then
 
-    if [ $ngx_feature_run = yes ]; then
+    case "$ngx_feature_run" in
+
+        yes)
+            if $NGX_AUTOTEST 2>&1 > /dev/null; then
+                echo " found"
+                ngx_found=yes
 
-       if $NGX_AUTOTEST 2>&1 > /dev/null; then
-           echo " found"
-           ngx_found=yes
+                if test -n "$ngx_feature_name"; then
+                    have=$ngx_have_feature . auto/have
+                fi
 
-           if test -n "$ngx_feature_name"; then
-               have=$ngx_have_feature . auto/have
-           fi
+            else
+                echo " found but is not working"
+            fi
+        ;;
+
+        bug)
+            if $NGX_AUTOTEST 2>&1 > /dev/null; then
+                echo " not found"
 
-       else
-           echo " found but is not working"
-       fi
+            else
+                echo " found"
+                ngx_found=yes
+
+                if test -n "$ngx_feature_name"; then
+                    have=$ngx_have_feature . auto/have
+                fi
+            fi
+        ;;
 
-    else
-       echo " found"
-       ngx_found=yes
+        *)
+            echo " found"
+            ngx_found=yes
 
-       if test -n "$ngx_feature_name"; then
-           have=$ngx_have_feature . auto/have
-       fi
+            if test -n "$ngx_feature_name"; then
+                have=$ngx_have_feature . auto/have
+            fi
+        ;;
 
-    fi
+    esac
 
 else
     echo " not found"