[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: [PATCH] libtool: make fork minimisation compatible with dash an
From: |
Eric Blake |
Subject: |
Re: FYI: [PATCH] libtool: make fork minimisation compatible with dash and zsh. |
Date: |
Mon, 19 Dec 2011 06:52:22 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 12/18/2011 06:49 AM, Gary V. Vaughan wrote:
> * 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.
Dash understands $(( )). What it doesn't understand is ${BASH_VERSINFO[0]}.
Solaris /bin/sh understands neither, though, so fixing this is
definitely necessary.
> +if test set = "${BASH_VERSION+set}${ZSH_VERSION}"; then
> : ${lt_HAVE_ARITH_OP="yes"}
> : ${lt_HAVE_XSI_OPS="yes"}
If you wanted, you could combine those two into a single statement:
: ${lt_HAVE_ARITH_OP=yes} ${lt_HAVE_XSI_OPS=yes}
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw., (continued)
- Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw., Gary V. Vaughan, 2011/12/08
- FYI [PATCH] libtool: minimise forks per invocation under bash., Gary V. Vaughan, 2011/12/18
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Stefano Lattarini, 2011/12/18
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Stefano Lattarini, 2011/12/18
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Gary V. Vaughan, 2011/12/18
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Stefano Lattarini, 2011/12/18
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Gary V. Vaughan, 2011/12/18
- FYI: [PATCH] libtool: make fork minimisation compatible with dash and zsh., Gary V. Vaughan, 2011/12/18
- Re: FYI: [PATCH] libtool: make fork minimisation compatible with dash and zsh.,
Eric Blake <=
- Re: FYI [PATCH] libtool: minimise forks per invocation under bash., Eric Blake, 2011/12/19
Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw., Peter O'Gorman, 2011/12/08
Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw., Charles Wilson, 2011/12/08