[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newfangled sh in libtool

From: Ralf Wildenhues
Subject: Re: newfangled sh in libtool
Date: Sun, 27 Sep 2009 08:38:13 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

Hi Karl,

* Karl Berry wrote on Sun, Sep 27, 2009 at 02:37:20AM CEST:
> In the func_arith function in libtool 2.2.6, the "newfangled" $(( ... ))
> sh construct is used.  In particular, Solaris 5.10 /bin/sh does not
> recognize it:

> I'm not sure if this is the only place where such a thing is used, but
> it's the only one I've run across.  It's rather a drag, since it means
> every libtool-using package has to check for a "new" sh, even if the
> package itself doesn't need it.

libtool should only be using newer shell constructs with newer shells it
founds working; that means, you shouldn't have to adjust the package,
but the Libtool macros should have done all that for you.  If that isn't
the case, then that indicates a bug, and we'd be interested in a way to
reproduce it, including: Autoconf, Automake versions used, package
source (or even better a reduced example), configure and make invocation
and output, and the shells available on this system.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]