Re: AC_PROG_EGREP and $EGREP_TRADITIONAL and shell conditional statements

"Zack Weinberg" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <[email protected]>
On Sat, Apr 1, 2023, at 11:38 PM, Paul Eggert wrote:
> This is surely a bug in mcpp's configure.ac: it's greatly underquoted. I 
> don't recall ever seeing a script that underquoted before.

Agreed, that looks like the authors quoted things only when they absolutely
had to.

> * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU):
> Add two ‘@%:@(’s to cater to underquoted callers.
> * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Use quadrigraph instead of
> ‘#’, for underquoted callers.

Should we convert these to AS_CASE instead maybe?  Or would that not help?  I'll experiment.

zw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.