[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MAC
From: |
Eric Blake |
Subject: |
Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR |
Date: |
Wed, 04 Jul 2012 10:42:44 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 07/04/2012 09:24 AM, Stefano Lattarini wrote:
> It can be done either passing several arguments to a single invocation:
>
> AC_CONFIG_MACRO_DIR([dir1 dir2])
I would recommend against this,
>
> or issuing more invocations:
>
> AC_CONFIG_MACRO_DIR([dir1])
> AC_CONFIG_MACRO_DIR([dir2])
and instead favor this approach only.
My plan for autoconf is to implement AC_CONFIG_MACRO_DIRS, which can be
invoked multiple times and also takes a whitespace-separated list in a
single call, but which will basically then call AC_CONFIG_MACRO_DIR once
per unique entry (that is, AC_CONFIG_MACRO_DIRS will be smart enough to
filter out duplicates). Tracing code should then trace _just_
AC_CONFIG_MACRO_DIR, which will be called once per directory, and where
the first call is the preferred dumping ground for new macros. There
shouldn't be a need to trace AC_CONFIG_MACRO_DIRS.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] {master} aclocal: deprecate ACLOCAL_AMFLAGS, trace AC_CONFIG_MACRO_DIR instead, (continued)
- Re: [PATCH] {master} aclocal: deprecate ACLOCAL_AMFLAGS, trace AC_CONFIG_MACRO_DIR instead, Stefano Lattarini, 2012/07/04
- [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Stefano Lattarini, 2012/07/04
- [PATCH 2/2] docs: ACLOCAL_AMFLAGS will become obsolescent in Automake 1.13, Stefano Lattarini, 2012/07/04
- Re: [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Eric Blake, 2012/07/04
- Re: [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Eric Blake, 2012/07/04
- Re: [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Stefano Lattarini, 2012/07/04
- Re: [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Stefano Lattarini, 2012/07/04
- Re: [PATCH 1/2] AC_CONFIG_MACRO_DIR: accept more than one argument, Stefano Lattarini, 2012/07/04
- [PATCH 0/2] aclocal: allow multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/04
- [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/04
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR,
Eric Blake <=
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/04
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/13
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Eric Blake, 2012/07/13
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/14
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Eric Blake, 2012/07/21
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Stefano Lattarini, 2012/07/21
- Re: [PATCH 1/2] aclocal: multiple local m4 macro dirs with AC_CONFIG_MACRO_DIR, Eric Blake, 2012/07/21
- [PATCH 2/2] aclocal: diagnose non-existing directories in AC_CONFIG_MACRO_DIR better, Stefano Lattarini, 2012/07/04