mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* atgeneral.m4 (AT_CHECK): Add a newline to the end of
at-stdout and at-stderr instead of removing the newline from the echo output, which is not guaranteed to work.
This commit is contained in:
parent
17c8111864
commit
9eb4315038
@ -1,3 +1,9 @@
|
||||
2001-06-29 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* atgeneral.m4 (AT_CHECK): Add a newline to the end of
|
||||
at-stdout and at-stderr instead of removing the newline
|
||||
from the echo output, which is not guaranteed to work.
|
||||
|
||||
2001-06-28 Jens Petersen <petersen@redhat.com>
|
||||
|
||||
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
|
||||
|
@ -538,14 +538,14 @@ m4_case([$4],
|
||||
ignore, [(echo stderr:; cat at-stderr) >&5],
|
||||
experr, [$at_diff experr at-stderr >&5 || at_failed=:],
|
||||
[], [$at_diff $at_devnull at-stderr >&5 || at_failed=:],
|
||||
[echo $at_n "AS_ESCAPE([$4])$at_c" | $at_diff - at-stderr >&5 || at_failed=:])
|
||||
[echo >>at-stderr; echo "AS_ESCAPE([$4])" | $at_diff - at-stderr >&5 || at_failed=:])
|
||||
dnl Check stdout.
|
||||
m4_case([$3],
|
||||
stdout, [(echo stdout:; tee stdout <at-stdout) >&5],
|
||||
ignore, [(echo stdout:; cat at-stdout) >&5],
|
||||
expout, [$at_diff expout at-stdout >&5 || at_failed=:],
|
||||
[], [$at_diff $at_devnull at-stdout >&5 || at_failed=:],
|
||||
[echo $at_n "AS_ESCAPE([$3])$at_c" | $at_diff - at-stdout >&5 || at_failed=:])
|
||||
[echo >>at-stdout; echo "AS_ESCAPE([$3])" | $at_diff - at-stdout >&5 || at_failed=:])
|
||||
dnl Check exit val. Don't `skip' if we are precisely checking $? = 77.
|
||||
case $at_status in
|
||||
m4_case([$2],
|
||||
|
@ -538,14 +538,14 @@ m4_case([$4],
|
||||
ignore, [(echo stderr:; cat at-stderr) >&5],
|
||||
experr, [$at_diff experr at-stderr >&5 || at_failed=:],
|
||||
[], [$at_diff $at_devnull at-stderr >&5 || at_failed=:],
|
||||
[echo $at_n "AS_ESCAPE([$4])$at_c" | $at_diff - at-stderr >&5 || at_failed=:])
|
||||
[echo >>at-stderr; echo "AS_ESCAPE([$4])" | $at_diff - at-stderr >&5 || at_failed=:])
|
||||
dnl Check stdout.
|
||||
m4_case([$3],
|
||||
stdout, [(echo stdout:; tee stdout <at-stdout) >&5],
|
||||
ignore, [(echo stdout:; cat at-stdout) >&5],
|
||||
expout, [$at_diff expout at-stdout >&5 || at_failed=:],
|
||||
[], [$at_diff $at_devnull at-stdout >&5 || at_failed=:],
|
||||
[echo $at_n "AS_ESCAPE([$3])$at_c" | $at_diff - at-stdout >&5 || at_failed=:])
|
||||
[echo >>at-stdout; echo "AS_ESCAPE([$3])" | $at_diff - at-stdout >&5 || at_failed=:])
|
||||
dnl Check exit val. Don't `skip' if we are precisely checking $? = 77.
|
||||
case $at_status in
|
||||
m4_case([$2],
|
||||
|
Loading…
Reference in New Issue
Block a user