[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: let aclocal output m4_includes for local m4 files

From: Alexandre Duret-Lutz
Subject: Re: RFC: let aclocal output m4_includes for local m4 files
Date: Fri, 18 Apr 2003 23:23:43 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "Pavel" == Pavel Roskin <address@hidden> writes:

Hi Pavel,

Thanks for commenting and testing!


 Pavel> The problem here is that you need to figure out which
 Pavel> files are local and which are not.  I see you wrote a
 Pavel> clever regex for that, but something tells me that some
 Pavel> people will ask for overrides.  

I suspect this too, although I'm unable to come up with cases
where people would need this...

 Pavel> For example, some projects don't distribute m4 files,
 Pavel> but those files are located on CVS inside the project
 Pavel> directory.

 Pavel> Such projects should be changed to include the original
 Pavel> m4 files and shorter aclocal.m4, but it will take time
 Pavel> to convert them.

AFAICT the only conversion required here is to install the new
Automake version :)  There should be nothing to change in the
project itself because Automake will automatically distribute
m4_included files.  So as soon as you run the new aclocal, you
get a short aclocal.m4 which includes a bunch of files, and all
these files will be distributed without any work from you.  Am I
missing something?

 Pavel> I think it would be nice to have an option for aclocal
 Pavel> to disable the use of m4_include globally.

Something like

  aclocal -I `pwd`/m4

should do it.  Is that enough?  (One advantage of this over a
new option is that it's still compatible with older Automake


Alexandre Duret-Lutz

reply via email to

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