[nginx] Configure: improved multiple types handling in auto/types/typedef.

Maxim Dounin mdounin at mdounin.ru
Fri Apr 1 13:45:02 UTC 2016


details:   http://hg.nginx.org/nginx/rev/e20bf454e58b
branches:  
changeset: 6499:e20bf454e58b
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Apr 01 16:38:30 2016 +0300
description:
Configure: improved multiple types handling in auto/types/typedef.

diffstat:

 auto/types/typedef |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (16 lines):

diff --git a/auto/types/typedef b/auto/types/typedef
--- a/auto/types/typedef
+++ b/auto/types/typedef
@@ -50,7 +50,11 @@ END
     fi
 
     if [ $ngx_found = no ]; then
-        echo $ngx_n " $ngx_try not found$ngx_c"
+        if [ $ngx_try = $ngx_type ]; then
+            echo $ngx_n " $ngx_try not found$ngx_c"
+        else
+            echo $ngx_n ", $ngx_try not found$ngx_c"
+        fi
 
         echo "----------"    >> $NGX_AUTOCONF_ERR
         cat $NGX_AUTOTEST.c  >> $NGX_AUTOCONF_ERR



More information about the nginx-devel mailing list