configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
authorManfred Hollstein <manfred@s-direktnet.de>
Wed, 9 Sep 1998 11:49:09 +0000 (11:49 +0000)
committerManfred Hollstein <manfred@gcc.gnu.org>
Wed, 9 Sep 1998 11:49:09 +0000 (11:49 +0000)
M
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22354

libstdc++/ChangeLog
libstdc++/Makefile.in

index c430be555693aecd21027e8526b36eb4c43aaf5d..a90f59e32be33f9daa33ee348d2e5f067e2c52ff 100644 (file)
@@ -1,3 +1,11 @@
+1998-09-09  Manfred Hollstein  <manfred@s-direktnet.de>
+
+       * Makefile.in (install): Initialize RELINSTALLDIR correctly
+       even for multilib and cross configurations.
+
+       * configure.in (INSTALLDIR): Don't change INSTALLDIR's init
+       value if --enable-version-specific-runtime-libs has been specified.
+
 Wed Sep  2 21:11:15 1998  H.J. Lu  (hjl@gnu.org)
 
        * Makefile.in (RELINSTALLDIR): New. Use it to make symlinks.
index 3696501b9d603ed69c1d3ce84c182d7f85c76d74..84e9a45f4a1d3417e786a930d65e8c860d0036a0 100644 (file)
@@ -285,15 +285,20 @@ install:
          INSTALLDIR=$(libsubdir); \
        fi; \
        INSTALLLINKDIR=$(libsubdir); \
-       if [ $${INSTALLLINKDIR}$(MULTISUBDIR) = $${INSTALLDIR} ]; \
-       then \
+       if [ $${INSTALLLINKDIR}$(MULTISUBDIR) = $${INSTALLDIR}$(MULTISUBDIR) ]; then \
          RELINSTALLDIR=; \
        elif [ x$(MULTISUBDIR) = x ]; then \
-         RELINSTALLDIR=../../../; \
-       elif [ "x`echo $(MULTISUBDIR) | sed s,[a-z],,g`" = "x/" ]; then \
-         RELINSTALLDIR=../../../../; \
+         if [ $(build_alias) = $(target_alias) ]; then \
+           RELINSTALLDIR=../../../; \
+         else \
+           RELINSTALLDIR=../../../../$(target_alias)/lib/; \
+         fi; \
        else \
-         RELINSTALLDIR=$${INSTALLDIR}/; \
+         if [ $(build_alias) = $(target_alias) ]; then \
+           RELINSTALLDIR=../../..`echo $(MULTISUBDIR) | sed -e 's,/[^/]*,/..,g'`$(MULTISUBDIR)/; \
+         else \
+           RELINSTALLDIR=../../../..`echo $(MULTISUBDIR) | sed -e 's,/[^/]*,/..,g'`/$(target_alias)/lib$(MULTISUBDIR)/; \
+         fi; \
        fi; \
        if [ $(build_alias) != $(target_alias) ]; then \
          case $$RELINSTALLDIR in \