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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How is aclocal.m4 in gcc maintained?


On Tue, Jul 02, 2002 at 09:37:47PM -0700, H. J. Lu wrote:
> On Wed, Jul 03, 2002 at 12:26:22AM -0400, Nathanael Nerode wrote:
> > HJ, there's a file 'config/acinclude.m4' in the top level.  Rather than
> > introducing a new accross.m4 file, why not put the macros in
> > config/acinclude.m4?  That's already supposed to be included by other
> > acinclude.m4 or aclocal.m4 files.
> 
> That will generate very different aclocal.m4 for fastjar and libffi.
> But I don't mind moving accross.m4 into config.

Seems like a good idea. :-)  I'm planning to add some general-purpose
macros which handle cross-compilation properly myself
(AC_CHECK_TARGET_TOOL parallelling AC_CHECK_TOOL, for instance), and
I'll be more comfortable dropping them in accross.m4 if it's in config.

> > Directories which *don't* have their own acinclude.m4 are
> > mostly directories which *don't* use Automake.  Fastjar seems to be a
> > bizarre exception, and probably should have an acinclude.m4.
> > 
> > gcc in particular does *not* use Automake.  I believe it *already*
> > includes config/acinclude.m4 (though I'm not sure).  So if you added the
> 
> I didn't see.
Erp, I was wrong. :-/  Sent my message too quickly.  GCC doesn't include
it.

--Nathanael


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