Commit 6706f116 by Alexandre Oliva Committed by Alexandre Oliva

configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set…

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
parent 9cabb1d8
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-04-22 Jeff Sturm <jsturm@one-point.com> 2002-04-22 Jeff Sturm <jsturm@one-point.com>
* Makefile.am (toolexeclib_LTLIBRARIES): Remove. * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
......
# 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 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
# OR IMPLIED. ANY USE IS AT YOUR OWN RISK. # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
...@@ -15,6 +15,12 @@ dnl Process this file with autoconf to produce configure. ...@@ -15,6 +15,12 @@ dnl Process this file with autoconf to produce configure.
AC_INIT(gcj_mlc.c) 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. dnl Can't be done in GC_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(.) AC_CONFIG_AUX_DIR(.)
...@@ -272,6 +278,7 @@ dnl Put all the -D options in a file. ...@@ -272,6 +278,7 @@ dnl Put all the -D options in a file.
echo "$DEFS" > boehm-cflags echo "$DEFS" > boehm-cflags
if test -n "$CONFIG_FILES"; then if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${gc_basedir}/../config-ml.in ac_file=Makefile . ${gc_basedir}/../config-ml.in
fi], fi],
srcdir=${srcdir} srcdir=${srcdir}
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-05-02 Alexandre Oliva <aoliva@redhat.com> 2002-05-02 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in: Fix for multilibbed natives. * Makefile.in: Fix for multilibbed natives.
......
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
# Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc. # Copyright (C) 1995, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk). # Contributed by Dave Love (d.love@dl.ac.uk).
# #
#This file is part of GNU Fortran. #This file is part of GNU Fortran.
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
AC_PREREQ(2.13) AC_PREREQ(2.13)
AC_INIT(libF77/Version.c) AC_INIT(libF77/Version.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
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
target_alias=${target_alias-$target} target_alias=${target_alias-$target}
AC_SUBST(target_alias) AC_SUBST(target_alias)
...@@ -113,6 +119,7 @@ AC_CONFIG_SUBDIRS(libU77 libI77 libF77) ...@@ -113,6 +119,7 @@ AC_CONFIG_SUBDIRS(libU77 libI77 libF77)
AC_OUTPUT(Makefile g2c.h:g2c.hin, AC_OUTPUT(Makefile g2c.h:g2c.hin,
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
if test -n "$CONFIG_FILES"; then if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
if test -n "${with_target_subdir}"; then if test -n "${with_target_subdir}"; then
# FIXME: We shouldn't need to set ac_file # FIXME: We shouldn't need to set ac_file
ac_file=Makefile ac_file=Makefile
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-05-05 Jason Thorpe <thorpej@wasabisystems.com> 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
* configure.in (sparc64-*-netbsd*): Add target. * configure.in (sparc64-*-netbsd*): Add target.
......
...@@ -2,6 +2,12 @@ dnl Process this with autoconf to create configure ...@@ -2,6 +2,12 @@ dnl Process this with autoconf to create configure
AC_INIT(fficonfig.h.in) AC_INIT(fficonfig.h.in)
AM_CONFIG_HEADER(fficonfig.h) AM_CONFIG_HEADER(fficonfig.h)
# 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 Default to --enable-multilib dnl Default to --enable-multilib
AC_ARG_ENABLE(multilib, AC_ARG_ENABLE(multilib,
[ --enable-multilib build many library versions (default)], [ --enable-multilib build many library versions (default)],
...@@ -156,6 +162,7 @@ fi ...@@ -156,6 +162,7 @@ fi
AC_OUTPUT(include/Makefile include/ffi.h Makefile, AC_OUTPUT(include/Makefile include/ffi.h Makefile,
[ [
if test -n "$CONFIG_FILES"; then if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${libffi_basedir}/../config-ml.in ac_file=Makefile . ${libffi_basedir}/../config-ml.in
fi fi
], ],
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-05-07 Mark Mitchell <mark@codesourcery.com> 2002-05-07 Mark Mitchell <mark@codesourcery.com>
* configure.in (AC_TYPE_PID_T): Use it. * configure.in (AC_TYPE_PID_T): Use it.
......
...@@ -3,6 +3,12 @@ dnl Process this file with autoconf to produce a configure script ...@@ -3,6 +3,12 @@ dnl Process this file with autoconf to produce a configure script
AC_PREREQ(2.13) AC_PREREQ(2.13)
AC_INIT(pexecute.c) 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. dnl We use these options to decide which functions to include.
AC_ARG_WITH(target-subdir, AC_ARG_WITH(target-subdir,
[ --with-target-subdir=SUBDIR Configuring in a subdirectory for target]) [ --with-target-subdir=SUBDIR Configuring in a subdirectory for target])
...@@ -427,6 +433,7 @@ if test -n "$CONFIG_FILES"; then ...@@ -427,6 +433,7 @@ if test -n "$CONFIG_FILES"; then
if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
# FIXME: We shouldn't need to set ac_file # FIXME: We shouldn't need to set ac_file
ac_file=Makefile ac_file=Makefile
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
. ${libiberty_topdir}/config-ml.in . ${libiberty_topdir}/config-ml.in
fi fi
fi], fi],
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-05-07 Tom Tromey <tromey@redhat.com> 2002-05-07 Tom Tromey <tromey@redhat.com>
* java/lang/natString.cc (unintern): Fixed typo. * java/lang/natString.cc (unintern): Fixed typo.
......
dnl Process this with autoconf to create configure dnl Process this with autoconf to create configure
AC_INIT(java/lang/System.java) 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 AC_PROG_LN_S
dnl We use these options to decide which functions to include. 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 ...@@ -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. [# Only add multilib support code if we just rebuilt top-level Makefile.
case " $CONFIG_FILES " in case " $CONFIG_FILES " in
*" Makefile "*) *" Makefile "*)
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${libgcj_basedir}/../config-ml.in ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
;; ;;
esac esac
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-04-19 David O'Brien <obrien@FreeBSD.org> 2002-04-19 David O'Brien <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining. * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
......
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
# Copyright (C) 1995, 1997, 1998, 1999 Free Software Foundation, Inc. # Copyright (C) 1995, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk). # Contributed by Dave Love (d.love@dl.ac.uk).
# #
#This file is part of GNU Objective C. #This file is part of GNU Objective C.
...@@ -23,6 +23,12 @@ AC_PREREQ(2.13) ...@@ -23,6 +23,12 @@ AC_PREREQ(2.13)
AC_INIT(objc/objc.h) AC_INIT(objc/objc.h)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
# 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_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
target_alias=${target_alias-$target} target_alias=${target_alias-$target}
AC_SUBST(target_alias) AC_SUBST(target_alias)
...@@ -123,6 +129,7 @@ if test -n "$CONFIG_FILES"; then ...@@ -123,6 +129,7 @@ if test -n "$CONFIG_FILES"; then
if test -n "${with_target_subdir}"; then if test -n "${with_target_subdir}"; then
# FIXME: We shouldn't need to set ac_file # FIXME: We shouldn't need to set ac_file
ac_file=Makefile ac_file=Makefile
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
. ${toplevel_srcdir}/config-ml.in . ${toplevel_srcdir}/config-ml.in
fi fi
fi], fi],
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-05-07 Mark Mitchell <mark@codesourcery.com> 2002-05-07 Mark Mitchell <mark@codesourcery.com>
* configure.in: Add support for WindISS. * configure.in: Add support for WindISS.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
AC_PREREQ(2.13) AC_PREREQ(2.13)
AC_INIT(src/ios.cc) AC_INIT(src/ios.cc)
# 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
PACKAGE=libstdc++ PACKAGE=libstdc++
AC_SUBST(PACKAGE) AC_SUBST(PACKAGE)
# For typical GNU versioning info, format is MAJOR.MINOR.MICRO # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
...@@ -347,6 +353,7 @@ AC_OUTPUT(Makefile \ ...@@ -347,6 +353,7 @@ AC_OUTPUT(Makefile \
libmath/Makefile libio/Makefile libsupc++/Makefile \ libmath/Makefile libio/Makefile libsupc++/Makefile \
po/Makefile testsuite/Makefile mkcheck testsuite_flags, po/Makefile testsuite/Makefile mkcheck testsuite_flags,
[if test -n "$CONFIG_FILES"; then [if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
grep '^MULTISUBDIR =' Makefile >> src/Makefile grep '^MULTISUBDIR =' Makefile >> src/Makefile
grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
......
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net> 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
* configure.in (AC_EXEEXT): Work around in case it expands to * configure.in (AC_EXEEXT): Work around in case it expands to
...@@ -231,7 +237,7 @@ Changes in 1.0.6 (19 Jan 1998) ...@@ -231,7 +237,7 @@ Changes in 1.0.6 (19 Jan 1998)
- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau) - use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
- added makelcc.bat for lcc-win32 (Tom St Denis) - added makelcc.bat for lcc-win32 (Tom St Denis)
- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe) - in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
- Avoid expanded $Id: ChangeLog,v 1.1.1.2 2002/03/11 21:53:21 tromey Exp $. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion. - Avoid expanded $Id: ChangeLog,v 1.4 2002/03/11 22:11:16 tromey Exp $. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
- check for unistd.h in configure (for off_t) - check for unistd.h in configure (for off_t)
- remove useless check parameter in inflate_blocks_free - remove useless check parameter in inflate_blocks_free
- avoid useless assignment of s->check to itself in inflate_blocks_new - avoid useless assignment of s->check to itself in inflate_blocks_new
......
...@@ -2,6 +2,12 @@ dnl Process this with autoconf to create configure ...@@ -2,6 +2,12 @@ dnl Process this with autoconf to create configure
AC_INIT(zlib.h) AC_INIT(zlib.h)
# 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 We may get other options which we dont document: dnl We may get other options which we dont document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
...@@ -118,6 +124,7 @@ fi ...@@ -118,6 +124,7 @@ fi
AC_OUTPUT(Makefile, AC_OUTPUT(Makefile,
[if test -n "$CONFIG_FILES"; then [if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${zlib_basedir}/../config-ml.in ac_file=Makefile . ${zlib_basedir}/../config-ml.in
fi], fi],
srcdir=${srcdir} srcdir=${srcdir}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment