diff options
author | DJ Delorie <dj@redhat.com> | 2002-05-08 14:22:36 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-05-08 14:22:36 +0000 |
commit | 52d98c2de82f5867d53c34ee3a98d0c421f002ff (patch) | |
tree | 268a7c70a41f1d2e80f796cfd96e04e4736435b6 /libiberty/configure.in | |
parent | 41fcb14eb33e4068fbb7cc33f17fae6ef5bd4c2e (diff) | |
download | gdb-52d98c2de82f5867d53c34ee3a98d0c421f002ff.zip gdb-52d98c2de82f5867d53c34ee3a98d0c421f002ff.tar.gz gdb-52d98c2de82f5867d53c34ee3a98d0c421f002ff.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index f3ec32a..f6d92bc 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -3,6 +3,12 @@ dnl Process this file with autoconf to produce a configure script AC_PREREQ(2.13) AC_INIT(pexecute.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. We don't use libtool yet, but some day we might, so... +ORIGINAL_LD_FOR_MULTILIBS=$LD + dnl We use these options to decide which functions to include. AC_ARG_WITH(target-subdir, [ --with-target-subdir=SUBDIR Configuring in a subdirectory for target]) @@ -427,6 +433,7 @@ if test -n "$CONFIG_FILES"; then if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then # FIXME: We shouldn't need to set ac_file ac_file=Makefile + LD="${ORIGINAL_LD_FOR_MULTILIBS}" . ${libiberty_topdir}/config-ml.in fi fi], |