bug-libtool
[Top][All Lists]
Advanced

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

libtool-1.5.4 patch


From: Peter Breitenlohner
Subject: libtool-1.5.4 patch
Date: Sun, 4 Apr 2004 17:22:05 +0200 (CEST)

Hi,

attached please find a patch I found necessary to apply to libtool-1.5.4 in
order to successfully do 'make install' (All changes occur twice, once in
Makefile.am and once in Makefile.in, and with fake timestamps in order to
avoid re-automake-ing).

The reasons for the two modifications are:

1. having two sets of (single-quote) rules for the same target
(install-data-hook) doesn't work. You get a make warning and only the second
set is executed.

2. the rules for local-install-files badly fail (at least when $(srcdir)!=.).
With automake 1.8.3 $(DISTFILES) contains several entries which already have
an explicit $(srcdir) attached. The code I have inserted is a simplified
version of the automake-generated code for the `distdir' target.
Wouldn't it be much better (less fragile) to have all that done via
automake, e.g. with
        ltldir = $(datadir)/libtool/libltdl
        ltl_DATA = COPYING.LIB Makefile.am Makefile.in README .... ltmain.sh
        ltl_SCRIPTS = config.guess config.sub configure .... missing
or similar.

Peter Breitenlohner <address@hidden>

Attachment: libtool-1.5.4-patch
Description: Text document


reply via email to

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