From 2bdefc12d89b4d60082df6d4db24f1d67887a951 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 18 Sep 2006 12:27:33 +0000 Subject: auto/configure [ PAUSE ] hwcap bug --- auto/feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'auto/feature') diff --git a/auto/feature b/auto/feature index 6ad008ae0..37420e3d6 100644 --- a/auto/feature +++ b/auto/feature @@ -43,7 +43,8 @@ if [ -x $NGX_AUTOTEST ]; then case "$ngx_feature_run" in yes) - if $NGX_AUTOTEST 2>&1 > /dev/null; then + # /bin/sh is used to intercept "Killed" or "Abort trap" messages + if /bin/sh $NGX_AUTOTEST > /dev/null 2>&1; then echo " found" ngx_found=yes @@ -57,7 +58,8 @@ if [ -x $NGX_AUTOTEST ]; then ;; bug) - if $NGX_AUTOTEST 2>&1 > /dev/null; then + # /bin/sh is used to intercept "Killed" or "Abort trap" messages + if /bin/sh $NGX_AUTOTEST > /dev/null 2>&1; then echo " not found" else -- cgit