]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
authorAkim Demaille <akim@epita.fr>
Fri, 7 Jul 2000 12:56:02 +0000 (12:56 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 7 Jul 2000 12:56:02 +0000 (12:56 +0000)
ChangeLog
lib/autotest/general.m4
tests/atgeneral.m4

index fa52e7b75d6276c3e67a3b20a9a6f06050d2b8b7..b0fe9c962ae2fd9da2bc6909295094624a72b9c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-07  François Pinard  <pinard@iro.umontreal.ca>
+
+       * tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
+
 2000-07-07  Akim Demaille  <akim@epita.fr>
 
        AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
index 3d4b4cadf628e2c87dd8e378c524486ee9a6fc26..9077a1cc287f2d1d17b3c493ce9332ef45ab9c55 100644 (file)
@@ -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
index 3d4b4cadf628e2c87dd8e378c524486ee9a6fc26..9077a1cc287f2d1d17b3c493ce9332ef45ab9c55 100644 (file)
@@ -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