libtool-patches
[Top][All Lists]
Advanced

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

Re: HEAD: workaround for released autotools


From: Gary V. Vaughan
Subject: Re: HEAD: workaround for released autotools
Date: Sun, 28 Aug 2005 17:30:12 +0100

Hallo Ralf,

On 27 Aug 2005, at 19:56, Ralf Wildenhues wrote:
This is an ugly (from a stylistic point of view) patch to make CVS HEAD Libtool work with Autoconf 2.59 and Automake 1.9.5, which lack features
in their support for AC_CONFIG_LIBOBJ_DIR: just symlink the libobj
source files into $top_srcdir from bootstrap, and distribute them.

In principle, that's fine.  The attached runs a test during bootstrap to
decide whether the workaround is necessary.  This simply means that if
the person who bootstraps a release uses a new enough (or suitably patched)
autotoolset then the extra copies aren't added to the dist tarball.

This will cause duplicate identical (non-symlinked) copies in the
tarball.  As of this patch, a tarball will not contain any
synchronisation mechanism of the two copies of each, unlike with a
bootstrapped CVS checkout on a machine with working "ln -s". But since
the respective files are neither large by any means, nor contain code
likely to change a lot (even be changed by users at all), I believe this
ought to suffice.  I can add a note to HACKING about this if you like.

No need. I think this version being self correcting as the installed tools
are upgraded is sufficient.

OK to apply?

I prefer the attached... ;-)

Tested with stock 1.9.6/2.59, darwin & subdir-libobj patched 1.9.6/2.5.9, and bootstrapping with one and `make dist' with the other set in both directions.

        Allow for portability with Autoconf 2.59, Automake 1.9.6,
        which lack AC_CONFIG_LIBOBJ_DIR support.

        * bootstrap: Symlink ..
        * argz.c lt__dirent.c lt__strl.c: .. these from the copies in
        libltdl.
* Makefile.am: Add these to EXTRA_DIST, as well as the originals in libltdl/, in order to work with both old and newer Automake.

Cheers,
    Gary.
--
Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},address@hidden
Research Scientist   ( '/   http://www.tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/{libtool,m4}
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: 213-gary-subdirobj-support.patch
Description: Binary data

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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