]> 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>
Tue, 2 Oct 2012 14:03:11 +0000 (21:03 +0700)
commitc03789b8ee33f136d3bbd7f7a111ad863bb4c7e8
treea3a320dea69a186df947e86acabfb6142cea23d8
parent78385ffd8af73b927549c3596da67233f2f92f0e
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