automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] aclocal: smash newlines in arguments of traced macros


From: Eric Blake
Subject: Re: [PATCH 4/4] aclocal: smash newlines in arguments of traced macros
Date: Fri, 02 Nov 2012 15:39:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1

On 11/02/2012 06:27 AM, Stefano Lattarini wrote:
> This change fixes the existing issues with AC_CONFIG_MACRO_DIRS
> containing newlines:
> <http://lists.gnu.org/archive/html/autoconf-patches/2012-11/msg00000.html>
> 
> Likely, it will also allow a less involved implementation of the
> AM_EXTRA_RECURSIVE_TARGETS macro (but that is left for potential
> follow-up patches).
> 
> * aclocal.in (trace_used_macros): When calling autom4te, pass its
> '--trace' option an argument containing '${::}%' rather than '$1'.
> According to the autoconf manual (as of version 2.69), that will expand
> to the concatenation, with the '::' string, of all the arguments passed
> to a macro, with all newline characters in such arguments smashed.
> Related adjustments when handling the macro AC_CONFIG_MACRO_DIRS, to
> ensure leading whitespace in its argument are handled correctly.
> * t/aclocal-macrodirs.tap ("AC_CONFIG_MACRO_DIRS: extra whitespace"):
> No longer declare it as an xfailing test.

You may not need this, if we go with my autoconf approach of tracing
_AC_CONFIG_MACRO_DIR which already split things so that there are no
newlines in the first place.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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