[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: |
Greg Wooledge |
Subject: |
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax |
Date: |
Tue, 17 Aug 2021 11:32:12 -0400 |
On Tue, Aug 17, 2021 at 06:03:36PM +0300, Ilkka Virta wrote:
> 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.
It comes from the AC_PROG_CC macro. On my system, this brings in text
from /usr/share/autoconf/autoconf/c.m4 in which this block of Bourne
shell code is seen verbatim.
> 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
Dropping Bourne shell compatibility. I can live with that, if Chet can. ;-)