From: Stepan Kasal Date: Wed, 27 Jul 2005 14:20:32 +0000 (+0000) Subject: a cosmetic change in _AT_CHECK X-Git-Tag: AUTOCONF-2.59c~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cabbfa68faddce459b7ee75041bf573a4b8e26b3;p=thirdparty%2Fautoconf.git a cosmetic change in _AT_CHECK --- diff --git a/ChangeLog b/ChangeLog index 09fd01ef6..5643d5c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason was pushdef'ed twice while popped only once. Push it only once. + (_AT_CHECK): Cosmetic changes to the "case $at_status" command. 2005-07-26 Stepan Kasal diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index e8f21aaf1..31f393df1 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -1432,14 +1432,11 @@ m4_case([$3], [echo >>"$at_stdout"; echo "m4_ifval([$7],[AS_ESCAPE([$3])],[$3])" | $at_diff - "$at_stdout" || at_failed=:]) dnl Check exit val. Don't `skip' if we are precisely checking $? = 77. case $at_status in -m4_case([$2], - [77], +m4_if([$2], [77], [], - [ 77) echo 77 > "$at_status_file" - exit 77;; + [ 77) echo 77 > "$at_status_file"; exit 77;; ])dnl -m4_case([$2], - [ignore], +m4_if([$2], [ignore], [ *);;], [ m4_default([$2], [0])) ;; *) echo "$at_srcdir/AT_LINE: exit code was $at_status, expected m4_default([$2], [0])"