This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: distclean calls "naked" aclocal


On Mon, Jun 14, 1999 at 06:27:31PM +0900, Ionutz Borcoman wrote:
> Hi,
> 
> It look that in the end this has nothing to do with cvs. It is the
> problem with aclocal, automake and autoconfigure.
> 
> If I change something in the config.in, tehn my system tries to do:
> 
> cd . && aclocal
> 
> As some of the macros are not in /usr/share/aclocal, but on
> /usr/local/share/aclocal, this step fails.
> 
> If I call by hand aclocal -I /usr/local/share/aclocal, then the macros
> are updated correct and the next calls to make are handled correct.
> 
> Is there a way to inform aclocal where it should search for macros ? Is
> there a system variable for this ? Is it recommended to use it ?

There is a variable, probably named AM_ACLOCALFLAGS or something: check 
in automake or output Makefiles for the right name.  But actually it 
would probably be better to have a directory in your package,
eg m4/, in which you put your own macros, so that other users have them.

hen, tell -I m4 to that AM flag, and everything should go right.

Akim

-- 
P-mail: Akim Demaille, 107 rue Bobillot, F-75013 Paris, France
E-mail: demaille@inf.enst.fr
V-mail: +33 1 45 81 78 81


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]