Commit 3118f0d5 by Tom Tromey Committed by Tom Tromey

re PR bootstrap/27818 (libjava installs libltdl sources in $prefix/share/libtool)

	PR gcc/27818:
	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Define conditionally.

From-SVN: r114389
parent a8b28492
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.
......
......@@ -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
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment