comparison auto/fmt/fmt @ 250:1903c6821958

nginx-0.0.2-2004-02-03-23:27:11 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 03 Feb 2004 20:27:11 +0000
parents 00cafae0bdf1
children 54f76b0b8dca
comparison
equal deleted inserted replaced
249:2a0540287298 250:1903c6821958
1 1
2 echo -n "checking for $ngx_type printf() format ..." 2 echo $ngx_n "checking for $ngx_type printf() format ..." $ngx_c
3 echo >> $NGX_ERR 3 echo >> $NGX_ERR
4 echo "checking for $ngx_type printf() format" >> $NGX_ERR 4 echo "checking for $ngx_type printf() format" >> $NGX_ERR
5 5
6 ngx_fmt=no 6 ngx_fmt=no
7 comma= 7 comma=
31 max_size=`echo $ngx_max_size | sed -e "s/L*\$//"` 31 max_size=`echo $ngx_max_size | sed -e "s/L*\$//"`
32 32
33 if [ -x $NGX_AUTOTEST ]; then 33 if [ -x $NGX_AUTOTEST ]; then
34 if [ "`$NGX_AUTOTEST`" = $max_size ]; then 34 if [ "`$NGX_AUTOTEST`" = $max_size ]; then
35 if [ $ngx_fmt_collect = yes ]; then 35 if [ $ngx_fmt_collect = yes ]; then
36 echo -n "$comma \"${fmt}\" is appropriate" 36 echo $ngx_n "$comma \"${fmt}\" is appropriate" $ngx_c
37 else 37 else
38 echo -n "$comma \"${fmt}\" used" 38 echo $ngx_n "$comma \"${fmt}\" used" $ngx_c
39 fi 39 fi
40 ngx_fmt=$fmt 40 ngx_fmt=$fmt
41 fi 41 fi
42 fi 42 fi
43 43
51 else 51 else
52 break 52 break
53 fi 53 fi
54 fi 54 fi
55 55
56 echo -n "$comma \"${fmt}\" is not appropriate" 56 echo $ngx_n "$comma \"${fmt}\" is not appropriate" $ngx_c
57 comma="," 57 comma=","
58 done 58 done
59 59
60 echo 60 echo
61 61