+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
$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
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
$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
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