[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
newfangled sh in libtool
From: |
Karl Berry |
Subject: |
newfangled sh in libtool |
Date: |
Sat, 26 Sep 2009 19:37:20 -0500 |
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.
If this really is the only place, how about using expr instead?
(Sorry if this is a well-known topic.)
Best,
karl
- newfangled sh in libtool,
Karl Berry <=
- Re: newfangled sh in libtool, Bob Friesenhahn, 2009/09/26
- Re: newfangled sh in libtool, Karl Berry, 2009/09/27
- Re: newfangled sh in libtool, Peter Breitenlohner, 2009/09/28
- Re: newfangled sh in libtool, Peter Breitenlohner, 2009/09/28
- Re: newfangled sh in libtool, Ralf Wildenhues, 2009/09/28
- Re: newfangled sh in libtool, Peter Breitenlohner, 2009/09/29
- Re: newfangled sh in libtool, Ralf Wildenhues, 2009/09/29
Re: newfangled sh in libtool, Ralf Wildenhues, 2009/09/27