summaryrefslogtreecommitdiff
path: root/libf2c/aclocal.m4
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-01-28 01:44:38 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2003-01-28 01:44:38 +0000
commit233888d3e0f887f850d13550b6426d40bb0ea2d1 (patch)
tree70d0aa4590cd799b67d7c7983f9c82595d37d5d8 /libf2c/aclocal.m4
parent13b6e5b4f1319697deec9c22e0cb100884496b6b (diff)
downloadgcc-233888d3e0f887f850d13550b6426d40bb0ea2d1.tar.gz
Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir. * aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless version_specific_libs is enabled. * configure: Rebuilt. From-SVN: r61927
Diffstat (limited to 'libf2c/aclocal.m4')
-rw-r--r--libf2c/aclocal.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/libf2c/aclocal.m4 b/libf2c/aclocal.m4
index b7d61e3c5a0..5d39edcfcbe 100644
--- a/libf2c/aclocal.m4
+++ b/libf2c/aclocal.m4
@@ -207,11 +207,12 @@ if test x"$glibcpp_toolexecdir" = x"no"; then
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
- glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
+ glibcpp_toolexeclibdir='$(toolexecdir)/lib'
else
glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
- glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
+ glibcpp_toolexeclibdir='$(libdir)'
fi
+ glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
fi
AC_SUBST(glibcpp_prefixdir)