[Top][All Lists]

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

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell sy

From: Ilkka Virta
Subject: Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax
Date: Tue, 17 Aug 2021 18:03:36 +0300

On Tue, Aug 17, 2021 at 5:40 PM Greg Wooledge <greg@wooledge.org> wrote:

> I'm still wondering what issue the OP is actually seeing.  If they claim
> that changing ${GCC+-stuff} to ${GCC:+-stuff} in some file fixes things,
> and if they also claim that *something* is setting the GCC variable to
> the empty string rather than unsetting it, then perhaps it's not a
> syntactic error at all, but rather a logical error.

I have this in the configure script:

if test $ac_compiler_gnu = yes; then

I don't know which part of autoconf exactly generates it. They also
mentioned it in this message:

> Either the thing that's setting GCC to the empty string ought to be
> changed to unset GCC, or else the ${GCC+-stuff} check ought to be changed
> to ${GCC:+-stuff} (at the risk of breaking Bourne shell compatibility,
> if we care about that).

As far as I can see, that's actually already fixed in the devel branch:

reply via email to

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