[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrapping CVS libtool
From: |
Gary V. Vaughan |
Subject: |
Re: bootstrapping CVS libtool |
Date: |
Wed, 26 Nov 2003 15:49:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Scott James Remnant wrote:
| On Wed, 2003-11-26 at 11:41, Gary V. Vaughan wrote:
|>libtool.m4 will be slowly crushed under the weight of its old releases.
|
| It stops us changing our AC_DEFUNs to m4_defines, yes. It wouldn't stop
| us removing old macros, because we'd remove the calls to them too one
| hopes.
Unless they migrate into autoconf, hence the warning in bootstrap.
|>A better algorithm would be to use an existing AC_FOO macro (howsoever it is
|>defined) in preference to pulling in a new file of macros and all of its
|>dependencies?
|
| The problem is that aclocal doesn't know about m4_define, yes.
Yep.
|> 1: remove $prefix/share/aclocal/l(ibtoo|td)l.m4 of old releases at install
|> time
|> 2: keep copies of the latest versions only in $prefix/share/libtool/m4
|> 3: maybe we need a new $prefix/share/aclocal/ltcompat.m4 with stubs for
|> the macros you list above to keep aclocal happy?
|>
|
| We wouldn't need the stubs if aclocal could only see one libtool.m4.
Agreed. And 1+2 achieves this. I'll post a patch shortly.
| Yet again I wish that Autoconf would learn how to keep its own macros in
| order, and didn't need a tool from Automake to do it for it! The true
| way to fix this is to add AC_MACRO_DIR to Autoconf, and allow it to
| source files in that directory the same way it does its own macro
| library. No more stuffing everything in aclocal.m4. But I digress.
Akim and I (and others) have talked about this before. Unfortunately, we need
to add programmatic include path munging to m4 as a prerequisite. It will
happen at some point though, everyone regards aclocal as a necessary evil.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/xMt1FRMICSmD1gYRAgV6AJ9hkdBDHPpbZIrocv+P8h17EPAlUQCgwrGn
sSuMMEjL/2nZzPQPdK7RRK4=
=QDJk
-----END PGP SIGNATURE-----
- Re: bootstrapping CVS libtool, (continued)
Re: bootstrapping CVS libtool, Gary V. Vaughan, 2003/11/25
Re: bootstrapping CVS libtool, Scott James Remnant, 2003/11/26
Re: bootstrapping CVS libtool,
Gary V. Vaughan <=