[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: support m4 lists more widely
From: |
Eric Sunshine |
Subject: |
Re: RFC: support m4 lists more widely |
Date: |
Sun, 23 Nov 2003 19:36:08 -0500 |
On Sat, 22 Nov 2003 14:52:19 +0100, Paolo Bonzini wrote:
> This patch allows one to use m4 lists together with AC_CHECK_FUNCS and
> friend. This is mostly an RFC because I also intend to
> replace existing uses of AC_CHECK_FUNCS and friends to use m4 lists, and to
> attack the autoupdate issue which I mention in the (patched) TODO file.
Excerpt from patch:
+AC_CHECK_PROGS(AWK, [gawk, awk, mawk, nawk])
+AC_CHECK_PROGS(AWK, gawk awk mawk nawk)
I noticed several places in the patch for autoconf.texi where inconsistent
quoting is used, such as in the above example. Since proper quoting is now
the recommended Autoconf "way", I would have expected the examples to quote
both arguments, rather than just one or neither. For instance:
AC_CHECK_PROGS([AWK], [gawk, awk, mawk, nawk])
AC_CHECK_PROGS([AWK], [gawk awk mawk nawk])
Was the inconsistent quoting just a simple oversight?
-- ES