bug-autoconf
[Top][All Lists]
Advanced

[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: Eric Blake
Subject: Re: need to set ACLOCAL_AMFLAGS along with AC_CONFIG_MACRO_DIR
Date: Wed, 15 Sep 2010 08:15:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/15/2010 04:37 AM, langdead wrote:

Hi,
I want to ask a question.

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, so it does not matter to autoreconf what file (if any) contains that line. It is all up to aclocal where that line is located, but aclocal belongs to the automake project, therefore, this is a question better asked on the automake lists.


The GDAL project combines both autotools and ordinary makefile mechanism.
And it use another template file 'GDALmake.opt.in' instead of 'Makefile.am'.

When I extend this library, I can't use autoreconf to update the 'configure'
file to contain my own *.m4 file, because the ACLOCAL_AMFLAGS is not passed
to aclocal by autoreconf. And autoreconf can't receive the parameter "-I
@path" as its help document said either.

Did you literally mean '-I @path', or were you intending '-I @path@' or '-I $(path)'?

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

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