libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] support parallel installations


From: Ralf Wildenhues
Subject: Re: [PATCH] support parallel installations
Date: Mon, 15 Nov 2004 11:41:41 +0100
User-agent: Mutt/1.4.1i

Sorry for late response..

* Gary V. Vaughan wrote on Wed, Nov 10, 2004 at 06:14:12PM CET:
> 
> This patch is inspired by the APIVERSION code in automake, and
> some selective reverting of libtool--devo--1.0--patch-64 (where
> I changed back to using a shared aclocal).  With this in place
> libtool-2.0 and higher will be able to be parallel installed with
> future libtool releases...
> 
> Okay to commit?

Has some rough edges.

>       * configure.ac (APIVERSION): New substituted variable.
>       (pkgvdatadir): Ditto.  Versioned data directory.
>       (pkgvmacrodir): Ditto.  Versioned aclocal directory.
>       (LN): New check for LN command.
>       * Makefile.am (aclocal_DATA): Replaced with...
>       (pkgvmacro_DATA): ...this.
>       (install-data-local): Remove old shared resources.
>       (install-exec-hook): Make versioned links to executables.
>       (uninstall-hook): Remove versioned files.
>       * libltdl/Makefile.am (ltdldatadir): Redefine in terms of
>       pkgvdatadir.
>       * libltdl/loaders/Makefile.am (ltdldatadir): Ditto.
>       * libtoolize.m4sh: Copy macro files from versioned macro directory
>       instead of shared aclocal directory.
>       * doc/libtool.texi: Document it.
>       * NEWS: Updated.


> --- orig/NEWS
> +++ mod/NEWS
> @@ -1,6 +1,13 @@
>  NEWS - list of user-visible changes between releases of GNU Libtool
>  
>  New in 1.9h: 2004-??-??; CVS version 1.9g, Libtool team:
> +* Libtool versions can now be parallel installed, except that only one
> +  set of libltdl headers and static libs, and only one manual is retained.
> +* In order for this to work, Libtool's aclocal macros are not installed
> +  to a shared aclocal dir.  Either change your Makefile.am to use:
> +     ACLOCAL_AMFLAGS = -I /usr/share/libtool-1.9g/m4
> +  Or change your configure.ac to use:
> +     AC_CONFIG_MACRO_DIR([m4])

People might not want to start using a m4 directory now.  Can they use
  AC_CONFIG_MACRO_DIR([.])
as well?  Furthermore, I think only recent aclocal's read configure.ac
AC_CONFIG_MACRO_DIR (or there was some associated issue with that).

Since Libtool (at least until yet-to-be version 2.0) wants to support
Automake back to 1.4(?), this change should be tested with older
versions.

Furthermore, people might just not want to change their package merely
for using libtool.  There should be an easy way to get the default
installed libtool.  I'm not sure yet how to accomplish this.

Regards,
Ralf




reply via email to

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