diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 04:38:00 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 04:38:00 +0000 |
commit | 0b045cf7e3079e720da52fe4b56c1111c5c9f126 (patch) | |
tree | fda34a055cd15f68de4616295d6d596d3e47e2c1 /boehm-gc/configure.in | |
parent | b1157638a7839a075313f66e37944aad2aedafc7 (diff) | |
download | gcc-0b045cf7e3079e720da52fe4b56c1111c5c9f126.tar.gz |
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure.in')
-rw-r--r-- | boehm-gc/configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index b3a785186c7..1c721823434 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -1,4 +1,4 @@ -# Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved. +# Copyright (c) 1999, 2000, 2001, 2002 by Red Hat, Inc. All rights reserved. # # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED # OR IMPLIED. ANY USE IS AT YOUR OWN RISK. @@ -15,6 +15,12 @@ dnl Process this file with autoconf to produce configure. AC_INIT(gcj_mlc.c) +# 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 + dnl Can't be done in GC_CONFIGURE because that confuses automake. AC_CONFIG_AUX_DIR(.) @@ -272,6 +278,7 @@ dnl Put all the -D options in a file. echo "$DEFS" > boehm-cflags if test -n "$CONFIG_FILES"; then + LD="${ORIGINAL_LD_FOR_MULTILIBS}" ac_file=Makefile . ${gc_basedir}/../config-ml.in fi], srcdir=${srcdir} |