]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: make fork minimisation compatible with dash and zsh.
authorGary V. Vaughan <gary@gnu.org>
Sun, 18 Dec 2011 13:41:10 +0000 (20:41 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sun, 18 Dec 2011 13:46:47 +0000 (20:46 +0700)
commiteabd3ad629a8a7112c1bf58aeaf26dc79fbe0ce2
tree6e7a08f4717a083127043317622d4282c0068f13
parent51c1877e70cdf5ca617d7ff403c1ae740d8b3a40
libtool: make fork minimisation compatible with dash and zsh.

* build-aub/general.m4sh (lt_HAVE_PLUSEQ_OP): Instead of using
$((..)) arithmetic, which causes an error on dash, use a case
based bash version check.
(lt_HAVE_ARITH_OP, lt_HAVE_XSI_OPS): Also short circuit the
feature probing forks and set these automatically when zsh is
detected.
Reported by Stefano Lattarini.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/general.m4sh