diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 11:04:03 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 11:04:03 +0000 |
| commit | 7f31a2098dcbd39ca60467f118e3f38c4e67ce5b (patch) | |
| tree | a9b36c13880291aa2ffb007ad966e783b000ecc0 /auto/feature | |
| parent | 40747ad861d1645febf4c3a43f5f0c3489decbf0 (diff) | |
| download | nginx-7f31a2098dcbd39ca60467f118e3f38c4e67ce5b.tar.gz nginx-7f31a2098dcbd39ca60467f118e3f38c4e67ce5b.tar.bz2 | |
use copied strerror() messages and autoconfigured sys_nerr value
Diffstat (limited to 'auto/feature')
| -rw-r--r-- | auto/feature | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/auto/feature b/auto/feature index 1bd334551..0f9becc3b 100644 --- a/auto/feature +++ b/auto/feature @@ -65,6 +65,24 @@ if [ -x $NGX_AUTOTEST ]; then fi ;; + value) + # /bin/sh is used to intercept "Killed" or "Abort trap" messages + if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then + echo " found" + ngx_found=yes + + cat << END >> $NGX_AUTO_CONFIG_H + +#ifndef $ngx_feature_name +#define $ngx_feature_name `$NGX_AUTOTEST` +#endif + +END + else + echo " found but is not working" + fi + ;; + bug) # /bin/sh is used to intercept "Killed" or "Abort trap" messages if /bin/sh -c $NGX_AUTOTEST >/dev/null 2>&1; then |
