This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: distclean calls "naked" aclocal
On Jun 15, 1999, Akim Demaille <demaille@inf.enst.fr> wrote:
> On Tue, Jun 15, 1999 at 06:53:35PM +0900, Ionutz Borcoman wrote:
>> Alexandre Oliva wrote:
>> >
>> > Try to set `ACLOCAL = @ACLOCAL@ -I m4' in Makefile.am
>>
>> It looks like it worked. Thanks a lot.
> Looks like my answer went ino space :( The variable I was talking
> about is ACLOCAL_AMFLAGS.
Wow! I had never heard of it!
> I'm not sure autoreconf honnors Alexandre's solution.
It certainly doesn't.
> About your other problems: why don't you want to put all the
> required m4 files in a single dir *attached to the package*, not out
> of the package.
Even this won't always work :-(
I used to distribute libtool.m4 with Amanda, in directory
config/libtool, and run `aclocal -I config/libtool'. However, for
people who had libtool.m4 in a directory that aclocal searched by
default, it would complain about duplicate definition of the libtool
macros and bail out :-(
That's why we really need AC_INCLUDE support in aclocal: macros
defined in files distributed with a package and AC_INCLUDEd in
configure.in (or acinclude.m4) should always override macros found by
aclocal in standard search directories. And this would obviate the
need for -I switches when running aclocal.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists