[Top][All Lists]

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

Re: [PATCH] autoreconf: pass '--install' to aclocal as well

From: Stefano Lattarini
Subject: Re: [PATCH] autoreconf: pass '--install' to aclocal as well
Date: Fri, 21 Sep 2012 21:40:31 +0200

On 09/21/2012 05:20 PM, Eric Blake wrote:
> On 09/21/2012 02:08 AM, Stefano Lattarini wrote:
>> When the '-i' option is passed to autoreconf, make it pass the '--install'
>> option to the aclocal invocation.  This will be especially useful when
>> Automake will eventually remove support for ACLOCAL_AMFLAGS, so that it
>> will be no longer possible to specify '--install' there (which was a bad
>> idea in the first place anyway, see <> for a
>> rationale).
>> * bin/ ($aclocal_supports_install): New global variable.
>> (parse_args): Initialize it properly.  Add the '--install' option to the
>> aclocal invocation if the '$install' and '$aclocal_supports_install' are
>> both true.
>> Signed-off-by: Stefano Lattarini <address@hidden>
>> ---
>>  bin/ | 5 +++++
>>  1 file changed, 5 insertions(+)
> ACK.
Ah, but this is a bad idea after all, because '--install' only works in
presence of '-I' option as well; otherwise, aclocal complains and bail out.

Thanks to the autoconf test 261 "Unusual Automake input files" for revealing
the issue ;-)

So consider this patch dropped.  We'll have to devise another way to make
this work.  Maybe just have autoreconf check that the soon-to-appear macro
AC_CONFIG_MACRO_DIRS is used in  If it is, "aclocal --install"
can be used; otherwise it can, even if '-i' was passed to autoreconf.  Will


reply via email to

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