libtool-patches
[Top][All Lists]
Advanced

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

Small fix for 1.5.16 to turn off installation on default


From: Dalibor Topic
Subject: Small fix for 1.5.16 to turn off installation on default
Date: Thu, 28 Apr 2005 14:04:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Hi all,

I've updated Kaffe [1] CVS head to libtool 1.5.16 and noticed that it broke make distcheck of Kaffe by installing and leaving libltdl files around in $prefix/share/libtool, which 1.5.14 didn't do.

Looking at the changes, it seems that the install-data-local section ini Makefile.am should be executed conditionally under the condition that the user chose AC_LIBLTDL_INSTALLABLE in their configure.ac.

The attached patch makes the respective change to Makefile.am. Applying it fixes make distcheck again for projects not using AC_LIBLTDL_INSTALLABLE but using AC_LIBLTDL_CONVENIENCE instead.

ChangeLog entry:

2005-04-27  Dalibor Topic  <address@hidden>

        libltdl/Makefile.am: Fix unrequested installation of
        libltdl into $prefix/share by default.

cheers,
dalibor topic

[1] http://www.kaffe.org
Index: libltdl/Makefile.am
===================================================================
RCS file: /cvs/kaffe/kaffe/libltdl/Makefile.am,v
retrieving revision 1.19
diff -u -r1.19 Makefile.am
--- libltdl/Makefile.am 27 Apr 2005 08:50:45 -0000      1.19
+++ libltdl/Makefile.am 28 Apr 2005 09:26:55 -0000
@@ -31,6 +31,7 @@
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
 
+if INSTALL_LTDL
 ## These are installed as a subdirectory of pkgdatadir so that
 ## libtoolize --ltdl can find them later:
 ltdldatadir = $(datadir)/libtool/libltdl
@@ -47,3 +48,5 @@
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
        ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
          | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+endif
+

reply via email to

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