This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: aclocal --print-ac-dir
>>> "Jens" == Jens Krüger <jens_krueger@frm2.tu-muenchen.de> writes:
Jens> Am Montag, 11. März 2002 17:24 schrieben Sie:
>> >>> "Jens" == Jens Krüger <jens_krueger@frm2.tu-muenchen.de> writes:
>>
>> [...]
>>
Jens> I had the same problem and I solved it in the following way:
Jens> - remove [...] /usr/share/aclocal
Jens> - create links /usr/local/aclocal to /usr/share/aclocal-1.6 [...]
>>
>> Please don't! /usr/local/aclocal and /usr/share/aclocal-1.6 are
>> both read by aclocal, and have different purposes. (One is for
>> public macros, the other for private macros.)
Jens> That means all public macros are stored in
Jens> /usr/share/aclocal and in /usr/share/aclocal-1.6 are the
Jens> macros belonging to the distribution?
Yes.
Jens> If this is correct then should the 'make install`remove
Jens> all files belonging to a older version of aclocal,
Jens> otherwise you may get an unexpected behaviour due to
Jens> double defined macros.
That's not needed. The macros from aclocal-1.6/* are prefered
over those from aclocal/*.
--
Alexandre Duret-Lutz