On Thu, Jul 08, 2021 at 12:30:01AM +0000, Jay K wrote:
> Ah. Darn. Tru64.
> This is the first&only time I've seen this.
> I changed #! to /bin/env bash to workaround, or edited the few that hit (there are many there, but only a few are run).
> It is working otherwise.
Someone reported the same problem with Ultrix 4.3 (early 1990s),
for which I made this script to update the generated configure script
and/or the input-files:
https://invisible-island.net/autoconf/xpg3-fixup.pl.html
> Thank you,
> - Jay
>
> ________________________________
> From: Thomas Dickey
> Sent: Thursday, July 8, 2021 12:22 AM
> To: Jay K
> Cc: bug-ncurses@gnu.org
> Subject: Re: config.status cases error for non-bash
>
> On Wed, Jul 07, 2021 at 10:44:06AM +0000, Jay K wrote:
> > ./config.status: syntax error at line 1179: `(' unexpected
> >
> > cases in ncurses aclocal.m4 all/many have leading parens.
> >
> > I've never seen that. Though it does look nice, to balance them.
> >
> > I guess it is bash-ism?
>
> no, it's POSIX (for the last 25 years or so).
>
> > Fix it?
>
> it's correct as is. Perhaps you're using Solaris 10, which is mentioned
> in the release notes for ncurses 6:
>
>
https://invisible-island.net/ncurses/announce-6.0.html#h4-config-major
>
> --
> Thomas E. Dickey <dickey@invisible-island.net>
>
https://invisible-island.net
>
ftp://ftp.invisible-island.net
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net