[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solving our bootstrap woes
From: |
Gary V . Vaughan |
Subject: |
Re: Solving our bootstrap woes |
Date: |
Thu, 15 Jan 2004 08:33:14 +0000 |
Sold! Please apply.
Are you sure that aclocal sorts m4 input alphabetically? I wouldn't be
surprised if it just pulls the files from disk in directory order
(equivalent to mtime I think). Or maybe they get m4_included in
topographic order...
Either way, it only really affects libtool's own bootstrap, since we
now remove old libtool.m4s from $prefix/share/aclocal.
On Thursday, January 15, 2004, at 12:16 am, Scott James Remnant wrote:
This isn't a patch, it's just a new file to drop in the distribution as
m4/lt~obsolete.m4. Ok, it needs adding to EXTRA_DIST as well, but
that's it.
Provided we bootstrap with automake 1.8 or newer it will get added
automatically (by virtue of being m4_included).
I think we also don't need add it to pkgmacro_DATA, since it is just
noise to libtool users, especially because it might wreak havoc if some
future (or old!) version of aclocal manages to slurp it in before
libtool.m4.
I think the comment I've put in it explains how it works pretty well,
basically instead of whatever you've got in
/usr/share/aclocal/libtool.m4 turning up in your aclocal.m4, you get
this instead; which is harmless because the filename is asciibetically
after anything else in m4/ so the m4_ifdef just expand to [].
Please add a comment near pkgmacro_DATA in Makefile.am to remind us not
to install it too.
Okay to commit?
Yep.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook