]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
a cosmetic change in _AT_CHECK
authorStepan Kasal <kasal@ucw.cz>
Wed, 27 Jul 2005 14:20:32 +0000 (14:20 +0000)
committerStepan Kasal <kasal@ucw.cz>
Wed, 27 Jul 2005 14:20:32 +0000 (14:20 +0000)
ChangeLog
lib/autotest/general.m4

index 09fd01ef64a38f8f4e0f48e18eea7c346e94955d..5643d5c5f000a23e99566eca6bf1627774dd9ba7 100644 (file)
--- 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  <kasal@ucw.cz>
 
index e8f21aaf1b0fd3ddb89318812c86fbb2ecc2c716..31f393df1e9098424fc6d61045ad0dfbb1d637fa 100644 (file)
@@ -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])"