|
From: | Bob Friesenhahn |
Subject: | Re: newfangled sh in libtool |
Date: | Sat, 26 Sep 2009 20:17:20 -0500 (CDT) |
User-agent: | Alpine 2.01 (GSO 1266 2009-07-14) |
On Sat, 26 Sep 2009, Karl Berry wrote:
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: ./libtool: syntax error at line 653: `func_arith_result=$' unexpected 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.
Configure itself normally tests to find the best shell, which usually ends up being 'bash'. Since /bin/ksh should support this newfangled syntax, it seems that it would be wrong for /bin/sh to be selected rather than /bin/ksh. However, it also seems wrong for libtool to be relying on ksh features.
Does your Solaris 10 system not have /bin/ksh and /bin/bash? Bob -- Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |