From: Akim Demaille Date: Fri, 7 Jul 2000 12:56:02 +0000 (+0000) Subject: * tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem. X-Git-Tag: autoconf-2.50~773 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42944c4fc3eb6a73e5119a7d8d7a50d6069e5c32;p=thirdparty%2Fautoconf.git * tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem. --- diff --git a/ChangeLog b/ChangeLog index fa52e7b75..b0fe9c962 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-07-07 François Pinard + + * tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem. + 2000-07-07 Akim Demaille AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 3d4b4cadf..9077a1cc2 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -361,7 +361,7 @@ ifelse([$2],,, [at_status=$? if test $at_status != $2; then dnl Maybe there was an important message to read before it died. - test -n "$at_verbose" && cat stderr >&6 + test -n "$at_verbose" && test -z "$at_no_redirs" && cat stderr >&6 dnl Exit with the same code, at least to preserve 77. exit $at_status fi diff --git a/tests/atgeneral.m4 b/tests/atgeneral.m4 index 3d4b4cadf..9077a1cc2 100644 --- a/tests/atgeneral.m4 +++ b/tests/atgeneral.m4 @@ -361,7 +361,7 @@ ifelse([$2],,, [at_status=$? if test $at_status != $2; then dnl Maybe there was an important message to read before it died. - test -n "$at_verbose" && cat stderr >&6 + test -n "$at_verbose" && test -z "$at_no_redirs" && cat stderr >&6 dnl Exit with the same code, at least to preserve 77. exit $at_status fi