]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fix exit status of expr version of as_func_arith.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 16 Nov 2008 21:18:07 +0000 (22:18 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 16 Nov 2008 21:18:07 +0000 (22:18 +0100)
commit291d709efde90f2a548233dc2d64296bc158f43d
tree2a6233b6423f4075deb46bd34454b6f592a67db0
parent9aa63de3e86c7c81e831c2462210d9d78be72d55
Fix exit status of expr version of as_func_arith.

* lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Count an exit
status of 1 of expr also as success, to avoid failure if the
computation result is zero.  Fixes test failures with IRIX sh,
where the expr variant of as_func_arith is used.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/m4sugar/m4sh.m4