[Zlib-devel] zlib-1.2.5 configure script issues

Fabian Groffen grobian at gentoo.org
Thu Jul 8 04:32:00 EDT 2010


On 07-07-2010 22:28:27 -0700, John Bowler wrote:
> From: Alon Bar-Lev [mailto:alon.barlev at gmail.com] 
> >> that isnt true at all.  $(...) has been in POSIX for years.
> >> -mike
> >
> >True, I have solaris-8 and I use zlib. $(...) is unsupported.
> 
> The problem was reported on "Solaris" by Fabian Groffen, he swapped to bash and then reported it works fine on "Solaris 10 x86 and sparc".
> 
> Presumably the /bin/sh on solaris-8 is different.  Configure definitely quite explicitly executes /bin/sh (and, given the way traditional Unices work it's difficult to see how it would execute anything else.)

Starting from Solaris 10, /usr/bin/bash is shipped by default.  However,
/bin/sh on Solaris remains Bourne shell of an ancient form in order not
to break any compatability.

I may have falsely suggested that bash would be around on Solaris
always, because in my controlled environment, bash is always installed
by my package manager, which makes things easier.  Nevertheless, I agree
with your point below that if you can just use `...`, that that is the
best solution if you use /bin/sh.

> Anyway, surely it's moot because `` works just fine - there are only two instances of $( in 1.2.5, one is the problem uname call, which is trivial to fix, the other is the definition of 'LDSHARED' on 'OSF1 V4*' which, weirdly, uses $(libdir).  I wonder if that might be an error?
:

-- 
Fabian Groffen
Gentoo on a different level




More information about the Zlib-devel mailing list