bug-bash
[Top][All Lists]
Advanced

[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
  GCC=yes
else
  GCC=
fi

I don't know which part of autoconf exactly generates it. They also
mentioned it in this message:
https://lists.gnu.org/archive/html/bug-readline/2021-08/msg00002.html


> 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:
https://git.savannah.gnu.org/cgit/bash.git/tree/configure.ac?h=devel#n417
and
https://git.savannah.gnu.org/cgit/bash.git/tree/CWRU/CWRU.chlog?h=devel#n1503


reply via email to

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