autoconf
[Top][All Lists]
Advanced

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

Re: AC_PROG_EGREP and $EGREP_TRADITIONAL and shell conditional statement


From: Zack Weinberg
Subject: Re: AC_PROG_EGREP and $EGREP_TRADITIONAL and shell conditional statements
Date: Sun, 02 Apr 2023 09:10:19 -0400
User-agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8

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



reply via email to

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