From cab0ac3d5086ae87b80b7cc79e6472e6a4bd8ac0 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Fri, 1 Apr 2016 16:38:30 +0300 Subject: [PATCH] Configure: improved multiple types handling in auto/types/typedef. --- auto/types/typedef | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/auto/types/typedef b/auto/types/typedef index f167e80d9..b55237e93 100644 --- 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