mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-03 02:00:36 +08:00
* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
This commit is contained in:
parent
bb4693991e
commit
9bae9af007
@ -1,3 +1,7 @@
|
||||
2000-12-06 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
|
||||
|
||||
2000-12-06 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* aclang.m4 (AC_LANG): Be `smart': don't issue the sh code if the
|
||||
|
@ -427,8 +427,8 @@ echo AT_LINE >at-check-line
|
||||
$at_check_stds && exec 5>&1 6>&2 1>stdout 2>stderr
|
||||
$at_traceon
|
||||
$1
|
||||
m4_ifval([$2],
|
||||
[at_status=$?
|
||||
m4_ifvaln([$2],
|
||||
[at_status=$?
|
||||
$at_traceoff
|
||||
if test $at_status != $2; then
|
||||
$at_verbose "Exit code was $at_status, expected $2" >&6
|
||||
@ -437,9 +437,8 @@ dnl Maybe there was an important message to read before it died.
|
||||
dnl Preserve exit code 77.
|
||||
test $at_status = 77 && exit 77
|
||||
exit 1
|
||||
fi
|
||||
],
|
||||
[$at_traceoff])dnl
|
||||
fi],
|
||||
[$at_traceoff])[]dnl
|
||||
if $at_check_stds; then
|
||||
dnl Restore stdout to fd1 and stderr to fd2.
|
||||
exec 1>&5 2>&6
|
||||
|
@ -427,8 +427,8 @@ echo AT_LINE >at-check-line
|
||||
$at_check_stds && exec 5>&1 6>&2 1>stdout 2>stderr
|
||||
$at_traceon
|
||||
$1
|
||||
m4_ifval([$2],
|
||||
[at_status=$?
|
||||
m4_ifvaln([$2],
|
||||
[at_status=$?
|
||||
$at_traceoff
|
||||
if test $at_status != $2; then
|
||||
$at_verbose "Exit code was $at_status, expected $2" >&6
|
||||
@ -437,9 +437,8 @@ dnl Maybe there was an important message to read before it died.
|
||||
dnl Preserve exit code 77.
|
||||
test $at_status = 77 && exit 77
|
||||
exit 1
|
||||
fi
|
||||
],
|
||||
[$at_traceoff])dnl
|
||||
fi],
|
||||
[$at_traceoff])[]dnl
|
||||
if $at_check_stds; then
|
||||
dnl Restore stdout to fd1 and stderr to fd2.
|
||||
exec 1>&5 2>&6
|
||||
|
Loading…
Reference in New Issue
Block a user