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 ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature