[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax
From:       Greg Wooledge <greg () wooledge ! org>
Date:       2021-08-17 15:32:12
Message-ID: YRvWfEi+XeKLEt+x () wooledge ! org
[Download RAW message or body]

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. ;-)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic