[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR
From: |
Ralf Wildenhues |
Subject: |
Re: need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR |
Date: |
Wed, 15 Sep 2010 20:59:02 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello,
* Eric Blake wrote on Wed, Sep 15, 2010 at 04:15:13PM CEST:
> On 09/15/2010 04:37 AM, langdead wrote:
> >Whether does "ACLOCAL_AMFLAGS= -I @path" only work for "Makefile.am"?
>
> In the context of autoreconf (the only part of the equation
> belonging to autoconf), we merely call aclocal without grepping for
> ACLOCAL_AMFLAGS,
That's not true. autoreconf.in:autoreconf_current_directory
greps for /^ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*)/
so it really only works with autoreconf to put literal stuff in that
line.
When aclocal is run from make, as triggered by the automake-generated
rule, $(ACLOCAL_AMFLAGS) undergoes usual make expansion of course.
Cheers,
Ralf