[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] warn: new special syntax warning, hack for aclocal
From: |
Eric Blake |
Subject: |
Re: [PATCH 3/3] warn: new special syntax warning, hack for aclocal |
Date: |
Wed, 07 Nov 2012 17:09:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 11/03/2012 06:05 AM, Stefano Lattarini wrote:
> We introduce a new special warning category, "m4require-without-m4defun",
> meant to contain only those warnings caused m4 macros that m4_require'd
> but not m4_defun'd. This category is automatically implied by '-Wsyntax',
> but can be disabled without disabling the other warnings in the "syntax"
> category.
As mentioned on the automake-patches list, we are going to ditch this
approach in favor of one that lets you pre-define a witness macro via
concatenation with stdin, as in:
$ cat x
A
$ echo "define(A,B)dnl" | autom4te - x
B
With the -Wnew-warning method, you'd have to ensure that you are using
new enough autoconf that understands the new command line option. But
with the witness macro via stdin, you can safely define a witness macro
regardless of autoconf version (although it will only have a silencing
effect in newer autoconf).
I've promised Stefano that I will devote enough time to autoconf in the
next 48 hours to get the best portions of this series, the POSIX sh
series, and my ideas for improvements, all posted so that we can be
closer to a 2.70 release.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[PATCH 3/3] warn: new special syntax warning, hack for aclocal, Stefano Lattarini, 2012/11/03
- Re: [PATCH 3/3] warn: new special syntax warning, hack for aclocal,
Eric Blake <=
Re: [PATCH 0/3] Support for AC_CONFIG_MACRO_DIRS in autoconf, Stefano Lattarini, 2012/11/07