[Top][All Lists]

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

Re: Upgrading libltdl does not remove old macros

From: Roumen Petrov
Subject: Re: Upgrading libltdl does not remove old macros
Date: Wed, 16 Apr 2008 23:00:04 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20080329 SeaMonkey/1.1.9

Gary V. Vaughan wrote:
Hi Andreas,

On 15 Apr 2008, at 12:21, Andreas Schwab wrote:
In a project that uses AC_LIBLTDL_CONVENIENCE libtool 1.5 used to put
the libtool macros for the libltdl subdir in libltdl/acinclude.m4.  When
running libtoolize 2.2 on such a source directory the libltdl directory
is not properly upgraded: libltdl/acinclude.m4 remaines intact, and
although the correct (2.2) libtool macros are propery put in libltdl/m4,
they are not found because libltdl/acinclude.m4 takes precedence.

Thanks for all the bug reports.

Unfortunately, many users of legacy libtool would maintain their own hand
rolled macros in acinclude.m4, so we can't safely throw chunks of it away
with sed :-(

I think the best we can offer is to try to notice old libtool macros in
common places, and remind the user to remove them, maybe even suggesting
that a simple 'rm -f' will do the trick as long as they don't have hand
maintained macros in the same file.


But file libltdl/acinclude.m4 is not maintained by project. It is installed by old libtool versions (pre 2.x). May be new libtool (2.2+) has to remove it?

If the project contain own acinclude.m4 files with libtool outside installed by libtoolize for ltld the libtool cannotn't touch them.


reply via email to

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