PR gcc/27818:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2006 15:08:56 +0000 (15:08 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2006 15:08:56 +0000 (15:08 +0000)
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Define conditionally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114389 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/libltdl/ChangeLog
libjava/libltdl/Makefile.am
libjava/libltdl/Makefile.in

index f510aa9..318b1a9 100644 (file)
@@ -1,3 +1,9 @@
+2006-06-05  Tom Tromey  <tromey@redhat.com>
+
+       PR gcc/27818:
+       * Makefile.in: Rebuilt.
+       * Makefile.am (install-data-local): Define conditionally.
+
 2006-04-08  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * configure: Rebuilt.
index b8d5cf1..70c31ed 100644 (file)
@@ -42,6 +42,8 @@ ltdldatafiles = COPYING.LIB README acinclude.m4 aclocal.m4 \
                install-sh missing ltmain.sh \
                ltdl.c ltdl.h
 
+## GCJ LOCAL: fix install buglet.  See PR 27818
+if INSTALL_LTDL
 ## To avoid spurious reconfiguration when the user installs these files
 ## with libtoolize, we have to preserve their timestamps carefully:
 install-data-local:
@@ -49,3 +51,4 @@ install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
        ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
          | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+endif
index 6bacd87..05dc43d 100644 (file)
@@ -577,6 +577,7 @@ distclean-generic:
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
+@INSTALL_LTDL_FALSE@install-data-local:
 clean: clean-am
 
 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
@@ -654,11 +655,11 @@ $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
 
-install-data-local:
-       -rm -rf $(DESTDIR)$(ltdldatadir)
-       $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
-       ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
-         | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+@INSTALL_LTDL_TRUE@install-data-local:
+@INSTALL_LTDL_TRUE@    -rm -rf $(DESTDIR)$(ltdldatadir)
+@INSTALL_LTDL_TRUE@    $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
+@INSTALL_LTDL_TRUE@    ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
+@INSTALL_LTDL_TRUE@      | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: