Commit Graph

116 Commits

Author SHA1 Message Date
Jason Thorpe
51584787e0 configure.in (*-*-netbsd*): New.
* configure.in (*-*-netbsd*): New.  Skip target-newlib,
target-libiberty, and target-libgloss.  Skip Java-related
libraries if not supported for NetBSD on target CPU.

From-SVN: r49258
2002-01-27 02:41:37 +00:00
Douglas B Rupp
4ee43206b1 * configure, configure.in: Use temp file for long sed commands.
From-SVN: r47669
2001-12-05 07:40:39 -05:00
Zack Weinberg
e490616e33 top level:
2001-11-27  DJ Delorie <dj@redhat.com>
	    Zack Weinberg  <zack@codesourcery.com>

	When build != host, create libiberty for the build machine.

	* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
	CONFIG_ARGUMENTS.
	(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
	New variables.
	(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
	and rules.
	(all.normal): Depend on ALL_BUILD_MODULES.
	(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
	(all-build-libiberty): Depend on configure-build-libiberty.

	* configure: Calculate and substitute proper value for
	ALL_BUILD_MODULES.
	* configure.in: Create the build subdirectory.
	Calculate and substitute TARGET_CONFIGARGS (formerly
	CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).

libiberty:
2001-11-27  Zack Weinberg  <zack@codesourcery.com>

	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
	in libiberty context.  Fix typo in leading comment.
	* configure.in: Fix various AC_DEFINEs so autoheader works.
	If any of vprintf, vsprintf, vfprintf is missing from libc,
	then AC_REPLACE_FUNCS(_doprnt).

From-SVN: r47393
2001-11-28 01:37:24 +00:00
Hans-Peter Nilsson
90a1298869 configure.in (noconfigdirs): Disable libf2c.
* configure.in (noconfigdirs) [h8300*-*-*, h8500-*-*]: Disable
	libf2c.

From-SVN: r47022
2001-11-14 21:39:36 +00:00
Phil Edwards
132e4bd7eb configure.in (--enable-languages): Be more permissive about syntax.
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

From-SVN: r46869
2001-11-08 21:06:18 -05:00
Hans-Peter Nilsson
d344dce955 configure.in (noconfigdirs): Disable libgcj.
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgcj.
	* MAINTAINERS: Add self as maintainer of MMIX port.
	Remove old after-approval entry.

From-SVN: r46744
2001-11-03 22:00:58 +00:00
Hans-Peter Nilsson
f48a3b5c76 * configure.in (noconfigdirs) [cris-*-*]: Disable libgcj.
From-SVN: r46189
2001-10-11 16:40:29 +00:00
Will Cohen
387beb8240 configure.in (*-*-linux*): Disable configuration of target-newlib and target-libgloss.
2001-09-26  Will Cohen <wcohen@redhat.com>

	* configure.in (*-*-linux*): Disable configuration of target-newlib
	and target-libgloss.

From-SVN: r45842
2001-09-27 18:01:15 +00:00
Ben Elliston
1dc4a75000 configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on Solaris when testing for the /usr/ucb/cc compiler...
2001-09-19  Ben Elliston  <bje@redhat.com>

	* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
	Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
	semantics.  Use the shell built-in "type" command instead.

From-SVN: r45687
2001-09-19 16:07:00 +10:00
Andrew Haley
53b475f053 configure.in (sh-*-linux*): New.
2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>

        * configure.in (sh-*-linux*): New.

From-SVN: r44472
2001-07-30 15:48:29 +00:00
Stephane Carrez
2b99799024 configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj on m68hc11/m68hc12.
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
	and libgcj on m68hc11/m68hc12.

From-SVN: r43970
2001-07-12 19:49:04 +02:00
Hans-Peter Nilsson
2ae5cea5b7 configure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags until it exists.
* configure.in (libstdcxx_flags): Do not try to execute
	libstdc++-v3/testsuite_flags until it exists.

From-SVN: r42772
2001-06-01 09:14:43 +00:00
Benjamin Kosnik
9e0e191b0f configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.

From-SVN: r42299
2001-05-19 03:44:03 +00:00
Alexandre Oliva
ca3667c482 configure.in (noconfigdirs): Disable libgcj.
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

From-SVN: r41805
2001-05-03 20:31:25 +00:00
Alexandre Oliva
a393bca085 configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

From-SVN: r41579
2001-04-26 05:28:55 +00:00
Alexandre Oliva
b1bb230234 configure.in (noconfigdirs): Don't reset it from scratch in the target case; only append to it.
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

From-SVN: r41576
2001-04-26 05:12:36 +00:00
Alexandre Oliva
b2964d6355 configure.in (noconfigdirs): Disable ${libgcj}.
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

From-SVN: r41575
2001-04-26 05:10:04 +00:00
Alexandre Oliva
8343765d38 configure.in (libgcj_saved): Copy from $libgcj.
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

From-SVN: r41551
2001-04-25 21:29:48 +00:00
Anthony Green
3fa03ff9de configure.in: Move *-chorusos target case to the proper switch.
* configure.in: Move *-chorusos target case to the proper switch.
        Disable libgcj.

From-SVN: r41505
2001-04-23 16:47:08 +00:00
Alan Modra
cdbff0ab8c config.guess: Add hppa64-linux support.
* config.guess: Add hppa64-linux support.  Note for next import that
	this is already in the master file.
	* configure.in: Likewise.  Accept `parisc' alias for `hppa'.

From-SVN: r41327
2001-04-13 15:11:45 +09:30
Alexandre Oliva
a3406c06c2 Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, [...]): New macros.
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.

From-SVN: r40991
2001-04-02 01:26:14 +00:00
Alexandre Oliva
a076f6a483 * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
From-SVN: r40893
2001-03-28 01:18:00 +00:00
Nicola Pero
4698d2cf4b configure.in: Only use `lang_requires' for languages athat are actually enabled.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40356
2001-03-10 00:20:21 +00:00
Tom Tromey
6a556ad682 configure.in: Allow config-lang.in to set `lang_requires' to list of other required languages.
* configure.in: Allow config-lang.in to set `lang_requires' to list
	of other required languages.

From-SVN: r40309
2001-03-07 22:51:02 +00:00
Benjamin Kosnik
4d88a68a06 configure.in (target_libs): Remove libg++.
2001-02-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* configure.in (target_libs): Remove libg++.
	(noconfigdirs): Remove libg++.
	(noconfigdirs): Same.
	(noconfigdirs): Same.
	(noconfigdirs): Same.

	* config-ml.in: Remove libg++ references.

	* Makefile.in (TARGET_CONFIGDIRS): Remove libio, libstdc++, libg++.
	(ALL_TARGET_MODULES): Same.
	(configure-target-libg++): Remove.
	(all-target-libg++): Remove.
	(configure-target-libio): Remove.
	(all-target-libio): Remove.
	(check-target-libio): Remove.
	(.PHONY): Remove.
	(libg++.tar.bz2): Remove.
	(all-target-cygmon): Remove libio.
	(all-target-libstdc++): Remove.
	(configure-target-libstdc++): Remove.
	(TARGET_LIB_PATH): Remove libstdc++.
	(ALL_GCC_CXX): Remove libstdc++.

From-SVN: r39911
2001-02-20 00:57:54 +00:00
Nick Clifton
2437d4ed72 Allow configuration of texinfo for Cygwin hosts.
From-SVN: r39787
2001-02-17 00:52:44 +00:00
Anthony Green
85b99cbe64 configure: Introduce GCJ_FOR_TARGET.
2001-02-15  Anthony Green  <green@redhat.com>

        * configure: Introduce GCJ_FOR_TARGET.
        * configure.in: Ditto.
        * Makefile.in: Ditto.

From-SVN: r39718
2001-02-15 13:55:34 +00:00
Chandrakala Chavva
e31ae6db84 configure.in: for *-chorusos, don't config target-newlib and target-libgloss.
* configure.in: for *-chorusos, don't config target-newlib and
        target-libgloss.

From-SVN: r39550
2001-02-08 17:05:23 -05:00
Mark Mitchell
22fdd65e59 Remove V2 C++ library.
* configure.in: Remove --enable-libstdcxx_v3 support.

	* Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
	* configure.in: Remove --enable-libstdcxx_v3 support.
	* configure: Regenerated.

From-SVN: r39445
2001-02-05 01:38:47 +00:00
Richard Henderson
0be25992bc configure.in (target_makefile_frag): Use mt-alphaieee.
* configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.

 	* mt-alphaieee: New file.

 	* config/alpha/t-ieee: Remove multilibbing.
 	(TARGET_LIBGCC2_CFLAGS): Add -mieee.

 	* configure.host (alpha*-*) [libgcj_flags]: Add -mieee.

From-SVN: r39309
2001-01-27 22:59:00 -08:00
Tom Tromey
1ace7e157e * configure.in: Allow libgcj to be built on Sparc Solaris.
From-SVN: r39279
2001-01-26 18:10:07 +00:00
Bryce McKinlay
7c01b2b5a8 configure.in: Enable libgcj on several additional platforms.
* configure.in: Enable libgcj on several additional platforms.

In gcc/java:
	* config-lang.in: Disable java by default.

From-SVN: r39212
2001-01-23 22:17:31 +00:00
Bryce McKinlay
d340e0ac39 * configure.in: Enable libgcj for linux targets.
From-SVN: r39177
2001-01-22 01:47:11 +00:00
Laurynas Biveinis
1da5b8fc55 * configure.in: remove supported directories from $noconfigdirs for DJGPP.
From-SVN: r38620
2001-01-02 10:36:25 -05:00
Benjamin Kosnik
cc330df988 Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
	(libstdcxx_incdir): Pass down.
	* config.if: Remove expired bits for cxx_interface, add stub.
	(libstdcxx_incdir): Add variable for g++ include directory.
	* configure.in (gxx_include_dir): Use it.

From-SVN: r38355
2000-12-18 18:08:07 +00:00
Andreas Jaeger
3896f13e30 configure.in: Handle lang_dirs.
2000-12-15  Andreas Jaeger  <aj@suse.de>

	* configure.in: Handle lang_dirs.

From-SVN: r38281
2000-12-15 10:52:41 +01:00
Anthony Green
41dfe3a2e6 Default to not build gcj target libraries.
From-SVN: r38239
2000-12-13 23:19:06 +00:00
Alexandre Oliva
2a50f859e3 configure.in: Disable language-specific target libraries for languages that aren't enabled.
* configure.in: Disable language-specific target libraries for
languages that aren't enabled.

From-SVN: r38206
2000-12-12 20:16:17 +00:00
Anthony Green
7743113b23 configure.in cleanup for libgcj
From-SVN: r38191
2000-12-11 16:52:42 +00:00
Alexandre Petit-Bianco
d82a33c6bd configure.in (target_libs): Revert 2000-12-08 patch.
2000-12-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* configure.in (target_libs): Revert 2000-12-08 patch.
	(noconfigdirs): Added target-libjava.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00500.html)

From-SVN: r38162
2000-12-09 13:08:13 -08:00
Alexandre Petit-Bianco
81522a1f86 Makefile.in (TARGET_CONFIGDIRS): Wrong place.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* Makefile.in (TARGET_CONFIGDIRS): Wrong place. Removed note about
	libjava.
	* configure.in (target_libs): Removed `target-libjava'.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00480.html)

From-SVN: r38144
2000-12-08 18:49:29 -08:00
Alexandre Petit-Bianco
5db1f7edca Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.in (TARGET_CONFIGDIRS): Added note about libjava.
        (ALL_MODULES): Added fastjar.
        (NATIVE_CHECK_MODULES, INSTALL_MODULES, CLEAN_MODULES): Likewise.
        (all-target-libjava): all-fastjar replaces all-zip.
        (all-fastjar): Added.
        (configure-target-fastjar, all-target-fastjar): Likewise.
        * configure.in (host_tools): Added fastjar.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00479.html)

From-SVN: r38143
2000-12-08 17:39:21 -08:00
Nick Clifton
0a534f40cc Add xscale-elf and xscale-coff targets.
Add xscale-elf and xscale-coff targets.  (Only supported in binutils at the
moment).

From-SVN: r37725
2000-11-25 00:28:09 +00:00
Fred Fish
fff016992c configure.in (enable_libstdcxx_v3): Fix typo, libstd++ -> libstdc++.
2000-11-16  Fred Fish  <fnf@be.com>

	* configure.in (enable_libstdcxx_v3): Fix typo,
	libstd++ -> libstdc++.

From-SVN: r37655
2000-11-22 07:27:56 -07:00
Alexandre Oliva
e601f9e9d8 Adjust copyright years, based on other copies of the file
From-SVN: r37547
2000-11-18 22:06:40 +00:00
Jeffrey A Law
18a53ffedb configure.in: Do not build byacc for hppa64.
* configure.in: Do not build byacc for hppa64.  Provide paths to the
        X11 libraries for hppa64.

From-SVN: r36389
2000-09-13 11:11:04 -06:00
Anthony Green
3c809ba45b Configure changes required for zlib.
From-SVN: r36122
2000-09-03 21:09:10 +00:00
Alexandre Oliva
afd7db2554 configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian crosses...
* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
crosses, but add gcc/include to the header search path for them.

From-SVN: r36113
2000-09-02 07:18:09 +00:00
Alexandre Oliva
7965440a9b configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell whether newlib is going to be built.
* configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and
$targargs to tell whether newlib is going to be built.

From-SVN: r35969
2000-08-25 07:04:49 +00:00
Alexandre Oliva
db310af088 configure.in [...] (libstdcxx_flags): Search $$r/TARGET_SUBDIR/libio for _G_config.h.
* configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search
$$r/TARGET_SUBDIR/libio for _G_config.h.

From-SVN: r35968
2000-08-25 05:36:41 +00:00