comparison auto/feature @ 3916:0ec738f18346

log "Abort trap" or similar messages
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 May 2011 11:50:19 +0000
parents e294f37401c0
children d620f497c50f
comparison
equal deleted inserted replaced
3915:e3645e338937 3916:0ec738f18346
50 50
51 case "$ngx_feature_run" in 51 case "$ngx_feature_run" in
52 52
53 yes) 53 yes)
54 # /bin/sh is used to intercept "Killed" or "Abort trap" messages 54 # /bin/sh is used to intercept "Killed" or "Abort trap" messages
55 if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then 55 if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
56 echo " found" 56 echo " found"
57 ngx_found=yes 57 ngx_found=yes
58 58
59 if test -n "$ngx_feature_name"; then 59 if test -n "$ngx_feature_name"; then
60 have=$ngx_have_feature . auto/have 60 have=$ngx_have_feature . auto/have
65 fi 65 fi
66 ;; 66 ;;
67 67
68 value) 68 value)
69 # /bin/sh is used to intercept "Killed" or "Abort trap" messages 69 # /bin/sh is used to intercept "Killed" or "Abort trap" messages
70 if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then 70 if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
71 echo " found" 71 echo " found"
72 ngx_found=yes 72 ngx_found=yes
73 73
74 cat << END >> $NGX_AUTO_CONFIG_H 74 cat << END >> $NGX_AUTO_CONFIG_H
75 75
83 fi 83 fi
84 ;; 84 ;;
85 85
86 bug) 86 bug)
87 # /bin/sh is used to intercept "Killed" or "Abort trap" messages 87 # /bin/sh is used to intercept "Killed" or "Abort trap" messages
88 if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then 88 if /bin/sh -c $NGX_AUTOTEST >> $NGX_AUTOCONF_ERR 2>&1; then
89 echo " not found" 89 echo " not found"
90 90
91 else 91 else
92 echo " found" 92 echo " found"
93 ngx_found=yes 93 ngx_found=yes