bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses config.status cases error for non-bash


From: Jay K
Subject: Re: ncurses config.status cases error for non-bash
Date: Thu, 8 Jul 2021 15:52:26 +0000

There are only about 10 lines that actually trigger the error. Can we just “fix” those? 
I can report which. 
That seems better than the alternative?
Or review and apply the results of the script?

I did actually used to use Ultrix, a lot. It seemed ok at the time, but I don’t see it coming back. :)

Thank you,
- Jay
 

From: Thomas Dickey <dickey@his.com>
Sent: Thursday, July 8, 2021 12:49 AM
To: Jay K
Cc: dickey@his.com; bug-ncurses@gnu.org; Larkin Nickle
Subject: Re: ncurses config.status cases error for non-bash
 
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

reply via email to

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