diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-05-08 04:38:00 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2002-05-08 04:38:00 +0000 |
commit | 6706f1167e292fb47d321633a877dcf503a23f30 (patch) | |
tree | fda34a055cd15f68de4616295d6d596d3e47e2c1 /libjava/configure.in | |
parent | 9cabb1d829171fe3d039c1e8b60ff8d5b056de43 (diff) | |
download | gcc-6706f1167e292fb47d321633a877dcf503a23f30.zip gcc-6706f1167e292fb47d321633a877dcf503a23f30.tar.gz gcc-6706f1167e292fb47d321633a877dcf503a23f30.tar.bz2 |
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
From-SVN: r53278
Diffstat (limited to 'libjava/configure.in')
-rw-r--r-- | libjava/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/configure.in b/libjava/configure.in index 83b249f..24ba89c 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -1,6 +1,12 @@ dnl Process this with autoconf to create configure AC_INIT(java/lang/System.java) +# This works around the fact that libtool configuration may change LD +# for this particular configuration, but some shells, instead of +# keeping the changes in LD private, export them just because LD is +# exported. +ORIGINAL_LD_FOR_MULTILIBS=$LD + AC_PROG_LN_S dnl We use these options to decide which functions to include. @@ -964,6 +970,7 @@ AC_OUTPUT(Makefile libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java [# Only add multilib support code if we just rebuilt top-level Makefile. case " $CONFIG_FILES " in *" Makefile "*) + LD="${ORIGINAL_LD_FOR_MULTILIBS}" ac_file=Makefile . ${libgcj_basedir}/../config-ml.in ;; esac |