Commit Graph

205 Commits

Author SHA1 Message Date
H.J. Lu 6fc4fe923a 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
* tls.m4 (GCC_CHECK_CC_TLS): New.

2007-07-05  Sebastian Pop  <sebpop@gmail.com>

	PR bootstrap/32622
	* mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
	don't reset its value.
2007-07-11 19:09:22 +00:00
Mike Stump d058b81b19 * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds.

	    * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
	    (ACX_HAVE_GCC_FOR_TARGET): Likewise.
2007-07-02 18:06:53 +00:00
Paolo Bonzini e8b9fee01f 2007-06-14 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.
2007-06-14 08:16:37 +00:00
Paolo Bonzini 6a3b4eb69a 2007-06-04 Olivier Hainque <hainque@adacore.com>
* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
2007-06-04 09:33:35 +00:00
Paolo Bonzini d74d6b17cd 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
* confsubdir.m4: Move here from newlib.
2007-05-28 06:35:11 +00:00
Paolo Bonzini 54db82c72c 2007-05-23 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
	* mh-ppc-darwin: Temporarily disable.
2007-05-23 14:27:05 +00:00
Paolo Bonzini 5baf5714af config:
2007-04-11  Kai Tietz  <kai.tietz@onevision.com>

	* stdint.m4: Make template compatible with older cygwin
	types.h, wrapping each type in a __XXX_t_defined #ifdef.
2007-04-12 13:06:01 +00:00
H.J. Lu 033320b317 2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
	when setting REPORT_BUGS_TEXI.
2007-03-26 15:38:25 +00:00
H.J. Lu 82654d5c01 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
	REPORT_BUGS_TEXI.
2007-03-23 17:11:54 +00:00
Joseph Myers 5962fc1d5c bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
	* configure: Regenerate.

config:
	* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
2007-03-23 02:51:30 +00:00
Andreas Schwab 7a81a71741 * configure: Regenerate.
config/:
	* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
	AC_MSG_RESULT.
2007-03-07 14:02:20 +00:00
Alan Modra 7706962caf * mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry
2007-02-27 09:02:43 +00:00
Alexandre Oliva 8202659364 ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.
2007-02-18 22:51:35 +00:00
Paolo Bonzini e6659c0029 2007-02-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def: Sync with GCC.
	* Makefile.tpl: Sync with GCC.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

	* config/acx.m4: Sync with GCC.
	* config/depstand.m4: Sync with GCC.
	* config/tls.m4: Sync with GCC.
2007-02-09 19:24:42 +00:00
Daniel Jacobowitz b58b6ee18f * Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
	* configure.in: Rename to...
	* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
	AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
	target_noncanonical.  Use them.  Rewrite removal of configure
	arguments for autoconf 2.59.  Discard variable settings.  Force
	program_transform_name for native tools.

	* Makefile.in: Regenerated.
	* configure: Regenerated with autoconf 2.59.

	* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.

	* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
	with an empty path.
2007-02-09 15:15:38 +00:00
Dave Brolley ac9049209c 2007-02-05 Dave Brolley <brolley@redhat.com>
* mt-mep: New.
2007-02-05 19:12:54 +00:00
H.J. Lu 158d5a007d 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-symbolic.m4: New.
2007-01-14 15:39:41 +00:00
Paolo Bonzini bd74ff2b2c 2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Change == to = in test command.
        * configure: Regenerate.

2007-01-11  Paolo Bonzini  <bonzini@gnu.org>

        * warnings.m4: Use m4_expand_once to clear the AC_SUBST'ed variable.
        (ACX_PROG_CC_WARNINGS_ARE_ERRORS): Fix typo.  Add optional 2nd argument.
2007-01-11 15:23:41 +00:00
Paolo Bonzini 85e36f1332 2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* config/warnings.m4: Add second parameter with name of variable.
	Always append to the variable if it exists.
2007-01-11 14:12:07 +00:00
Paolo Bonzini 52cf7618ce 2007-01-01 Mike Stump <mrs@apple.com>
* mh-ppc-darwin: Remove support for building with Apple's gcc-3.1.
2007-01-02 07:58:22 +00:00
Paolo Bonzini 75ea5758cd 2006-12-29 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
	2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Reorganize recognition of languages.  Add
        --enable-stage1-languages.  Show supported languages for the chosen
        target rather than all recognized languages.
        * configure: Regenerate.

	2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
        * Makefile.in: Regenerate.

	2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * configure.in: Warn that MPFR 2.2.0 is buggy.
        * configure: Regenerate.

config:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4: Sync with gcc.
2006-12-29 17:09:59 +00:00
Paolo Bonzini 14a1406e83 2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:

	2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	* configure.in: Remove "$build" case for powerpc-*-darwin* since
	it only affects bootstrap and could be tested on "$host" as well.
	* configure: Regenerate.
	* config/mh-ppc-darwin: Add to the stage1 cflags here.

	2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/29544
	* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
	(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
	move here comment from Makefile.tpl.
	* Makefile.tpl: Move some definitions higher in the file.
	(STAGE1_CHECKING): New.
	* configure.in: Add --enable-stage1-checking.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

	2006-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* configure.in: Update error message for missing GMP/MPFR.

	* configure: Regenerate.

	2006-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* configure.in: Update MPFR version in error message.

	* configure: Regenerate.

	2006-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
	(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
	--with-gmp-lib): New flags.

	* configure: Regenerate.

config:
2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
	if static linking doesn't even work.
2006-12-19 12:52:58 +00:00
Alan Modra e53c5df0a1 * configure.in: Handle spu makefile frag.
* config/mt-spu: New file.
	* Makefile.tpl (MAINT): Define
	(MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
2006-12-11 06:47:57 +00:00
Daniel Jacobowitz aef72dec44 * tls.m4 (GCC_CHECK_TLS): Fall back to a link test. 2006-11-14 03:32:36 +00:00
Geoffrey Keating 7a0d0fba3f Merge ChangeLog and multi.m4 from GCC repository. 2006-11-14 02:04:57 +00:00
Tom Tromey 2a441538f9 * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
2006-10-02 18:03:18 +00:00
Paolo Bonzini c684482df7 Sync from GCC
2006-07-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

        PR bootstrap/18058
        * configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
        if the bootstrap compiler is a GCC version that supports it.
        * configure: Regenerate.

config:
2006-07-21  David Daney  <ddaney@avtrex.com>

        PR libgcj/28426
        * gxx-include-dir.m4: Use target_alias in path for cross build.
2006-07-25 08:39:57 +00:00
Paolo Bonzini aee7eefa4d 2006-07-25 Paolo Bonzini <bonzini@gnu.org>
PR build/26188
        * stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.

	Sync from GCC
	2006-07-21  Steve Ellcey  <sje@cup.hp.com>

        PR target/26792
        * unwind_ipinfo.m4: New.
2006-07-25 08:32:44 +00:00
Paolo Bonzini 380e48e5f8 2006-07-19 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
	for stages after the first.
	* Makefile.in: Regenerate.

config:
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4: Support --with-build-libsubdir and AC_SUBST
	build_libsubdir.
2006-07-19 17:06:06 +00:00
Richard Earnshaw b44733c1c7 Richard Earnshaw <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>

	* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
	argument for where to search for NLS config file.
2006-06-13 08:02:20 +00:00
DJ Delorie 951543148e Whitespace fixes. 2006-06-07 23:30:11 +00:00
Daniel Jacobowitz 0505defa4a Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4.  Regenerate all
affected autotools files.  Include intl in gdb releases again.
2006-05-31 15:14:35 +00:00
Paolo Bonzini 207258c87d 2006-02-14 Paolo Bonzini <bonzini@gnu.org>
Andreas Schwab  <schwab@suse.de>

	* configure: Regenerate.

config:
2006-02-14  Paolo Bonzini  <bonzini@gnu.org>
            Andreas Schwab  <schwab@suse.de>

        * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Use correct program name.
	(ACX_CHECK_INSTALLED_TARGET_TOOL): Likewise, and always set $1.
2006-02-14 09:22:15 +00:00
Paolo Bonzini fef3f21361 2006-01-16 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Set with_gnu_as, with_gnu_ld, with_newlib earlier.
	Set md_exec_prefix.  Use ACX_CHECK_INSTALLED_TARGET_TOOL to find
	the assembler, linker and binutils.
	* configure: Regenerate.

config:
2006-01-16  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Test $with_build_time_tools.
	(ACX_PATH_SEP): New.
	(ACX_TOOL_DIRS): Move here from the gcc directory.
	(ACX_CHECK_INSTALLED_TARGET_TOOL): New.
	(GCC_TARGET_TOOL): Do not use a host tool if we found a target tool
	with a complete path in either $with_build_time_tools or $exec_prefix.
2006-01-26 18:56:02 +00:00
Paolo Bonzini 1529831639 2006-02-01 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
        * stdint.m4: New.
2006-01-02 18:55:51 +00:00
Paolo Bonzini e5340d82b2 2005-12-20 Paolo Bonzini <bonzini@gnu.org>
Revert Ada-related part of the previous change.

	* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, ADAFLAGS_FOR_TARGET):
	Do not pass.
	* Makefile.tpl (BOOT_ADAFLAGS): Do not define.
	* Makefile.in: Regenerate.
	* configure.in: Do not include mt-ppc-aix target fragment.
	* configure: Regenerate.

config:
2005-12-20  Paolo Bonzini  <bonzini@gnu.org>

	Revert Ada-related part of the previous change.

	* mt-ppc-aix: Delete.
2005-12-20 17:21:57 +00:00
Paolo Bonzini 7e958b2e6a 2005-12-19 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Select appropriate fragments for PowerPC/AIX.
	* configure: Regenerate.

	* Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS,
	BOOT_CFLAGS, BOOT_LDFLAGS.
	* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS,
	BOOT_CFLAGS, BOOT_LDFLAGS.
	(TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET.
	(stage[+id+]-bubble): Pass flags recursively to the comparison target.
	(stage): Fail if we cannot complete the work.

config:
2005-12-19  Paolo Bonzini  <bonzini@gnu.org>

        * mt-ppc-aix, mh-ppc-aix: New.
2005-12-19 17:33:45 +00:00
Paolo Bonzini a7dc05b5d1 toplevel:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

	Sync with gcc:

	2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4,
        CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove
        "CONFIGURED_" from the AC_CHECK_PROGS invocation.  Move below.
        Find in-tree tools if available.
        (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them.
        (CONFIGURED_*_FOR_TARGET): Don't set nor substitute.
        (*_FOR_TARGET): Set them with GCC_TARGET_TOOL.
        (COMPILER_*_FOR_TARGET): New.
        * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs.
        (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols.
        (CONFIGURED_*, USUAL_*): Remove.
        (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO,
        STRIP): Use autoconf substitutions.
        (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET,
        COMPILER_NM_FOR_TARGET): New.
        (EXTRA_HOST_FLAGS): Pass LIPO and STRIP.

        (all): Make all-host and all-target in parallel.
        (do-[+make_target+], do-check, install, [+compare-target+]): Ensure
        that $$r and $$s are set before invoking a recursive make.
        (stage[+id+]-bubble): Likewise, and invoke the comparison at the end.
        ([+bootstrap-target+]): Inline most of the `all' target.

	2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
        from the gcc build directory.
        * Makefile.in: Regenerate.

	2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.def: Add new libdecnumber host_module.  Make all-gcc
        depend on all-libdecnumber.
        * configure.in (host_libs): Include libdecnumber.
        * Makefile.in: Regenerate.
        * configure: Likewise.

	2005-11-21  Kean Johnston  <jkj@sco.com>

        * config.sub, config.guess: Sync from upstream sources.

config:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (GCC_TARGET_TOOL): New.
2005-12-05 15:16:05 +00:00
Tom Tromey e009e2f51d * enable.m4: New file.
* tls.m4: New file.
2005-09-23 17:28:31 +00:00
Paolo Bonzini 60cfca657c toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

	* configure.in: Replace NCN_STRICT_CHECK_TOOL with
	NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
	Look for alternate names of the target cc and c++

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

	* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
	NCN_STRICT_CHECK_TARGET_TOOL): Remove.
	(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,
2005-08-12 14:22:33 +00:00
Mark Mitchell cba5f9c837 * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET. 2005-07-27 18:55:59 +00:00
Mark Mitchell 9b992990df * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
	(CFLAGS_FOR_TARGET): Use it.
	(CXXFLAGS_FOR_TARGET): Likewise.
	* Makefile.in: Regenerated.
	* configure.in (--with-build-sysroot): New option.
	* configure: Regenerated.
2005-07-27 18:00:57 +00:00
R. Kelley Cook 5fc585f645 2005-07-16 Kelley Cook <kcook@gcc.gnu.org>
* all files: Update FSF address.
2005-07-16 02:41:34 +00:00
Tom Tromey fbc0e572ce PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
	is set but not 'no'.
2005-06-14 20:27:38 +00:00
DJ Delorie 2a0f12ac09 * depstand.m4, lead-dot.m4: New files. 2005-06-13 18:06:59 +00:00
R. Kelley Cook bfcec8f1d8 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
* accross.m4: Delete file.
2005-05-19 03:50:19 +00:00
DJ Delorie cda9ed9077 PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.
2005-05-12 16:35:35 +00:00
Paolo Bonzini 0d3442bf36 2005-04-29 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:

	2005-04-22  Bernd Schmidt  <bernd.schmidt@analog.com>

        * config.sub: Update from master copy.

	2005-04-19  Hans-Peter Nilsson  <hp@axis.com>

        * configure.in <crisv32-*-*, cris-*-*>: New local variable
        libgcj_ex_libffi.  Have specific match for *-*-linux*.  Separate
        matches for "*-*-aout" and "*-*-elf".  Don't disable libffi for
        "*-*-elf" and "*-*-linux*".
        * configure: Regenerate.

config:
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (ACX_PROG_GNAT): Remove stray break.
2005-04-29 14:00:03 +00:00
Joern Rennecke 5b5312972a * config/mh-mingw32: Delete.
* configure.in: Don't use it.
	* configure: Regenerate.
2005-03-30 18:36:33 +00:00
Paolo Bonzini f3fd76d418 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path.
	* Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove.
	(HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR).
	(HOST_LIB_PATH): Generate from Makefile.def.
	(TARGET_LIB_PATH): Likewise.
	(Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR.
	* Makefile.in: Regenerate.
	* configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove.
	(RPATH_ENVVAR): Include Darwin case.
	* configure: Regenerate.

config:
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

	* config/gcc-lib-path.m4: Remove.
2005-03-30 08:39:18 +00:00
Zack Weinberg 9e6daff153 top:
* Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir,
	gcc_version, and gcc_version_trigger from set of flags to pass.
	* Makefile.tpl: Remove definitions of above variables.
	(config.status): Remove dependency on $(gcc_version_trigger).
	* Makefile.in: Regenerate.
	* configure.in: Do not reference config/gcc-version.m4 nor
	config/gxx-include-dir.m4.  Do not invoke TL_AC_GCC_VERSION nor
	TL_AC_GXX_INCLUDE_DIR.  Do not set gcc_version_trigger.
	* configure: Regenerate.
config:
	* gxx-include-dir.m4: In all substitutions, leave $(gcc_version)
	to be expanded by the Makefile.
2005-03-22 00:49:18 +00:00
DJ Delorie f4f2cc9526 merge from gcc 2005-03-16 17:44:39 +00:00
Paolo Bonzini 7fc2ca22c1 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc.

	2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* Makefile.def (target_modules): Remove "stage", now unnecessary.
	* Makefile.tpl (HOST_SUBDIR): New substitution.
	(STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET,
	USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET,
	USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET,
	USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it.
	(Host modules, Bootstrapped modules): Use it.
	(Build modules, Target modules): Do not create symlink trees,
	always configure out-of-srcdir.
	(distclean): Try removing $(host_subdir) with rm before using rm -rf.
	* configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET,
	GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use
	$(HOST_SUBDIR).  Create a symlink for host_subdir.

	* Makefile.in: Regenerate.
	* configure: Regenerate.

	Merged from libada-gnattools-branch:
	2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.def: Add gnattools as a module, depending on target-libada.
	* Makefile.in: Regenerate.
	* configure.in: Include gnattools in host_tools; disable it if ada
	is disabled.
	* configure: Regenerate.

config:
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/17383
	* acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
	gcc build is going.
2005-02-28 14:07:03 +00:00
Joseph Myers d96324a5a8 * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.
2005-01-23 21:05:46 +00:00
Richard Sandiford e51613764b Introduce config/gxx-include-dir.m4. 2004-12-03 10:47:07 +00:00
Richard Sandiford afdaeaab51 Introduce and use config/gcc-version.m4. 2004-12-02 11:09:36 +00:00
DJ Delorie 3e6d5933e2 Merge from gcc:
2004-09-24  Zack Weinberg  <zack@codesourcery.com>
	* warnings.m4: New file.
2004-09-25 00:26:33 +00:00
DJ Delorie ab6b0b2f12 Merge from gcc 2004-09-24 14:57:15 +00:00
H.J. Lu 9ab64c4a44 2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@.
	(HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export
	SET_GCC_LIB_PATH_CMD.
	(BASE_TARGET_EXPORTS): Likewise.
	* Makefile.in: Regenerated.

	* configure.in (SET_GCC_LIB_PATH): Set and substitute.
	* configure: Regenerated.

config/

2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc-lib-path.m4: New file.
2004-09-24 00:40:22 +00:00
DJ Delorie 8199a77ffb Merge from gcc:
2004-09-23  Kelley Cook  <kcook@gcc.gnu.org>
	* config.guess: New upstream version
	* compile, depcomp, install-sh, ylwrap: Likewise.

	2004-09-19  Roger Sayle  <roger@eyesopen.com>
	* config/mh-x86omitfp: New host makefile fragment.  Add
	-fomit-frame-pointer to the default BOOT_CFLAGS.
	* configure.in: Use it to speed up bootstrap on some IA-32 hosts.
	* configure: Regenerate.

	2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
	PR target/11572
	* configure.in (*-*-darwin*): Renable libobjc.
	* configure: Regenerate.
2004-09-23 19:54:49 +00:00
DJ Delorie 58d7b41f25 Merge from gcc
2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
	* gettext-sister.m4: Renamed from gettext.m4
	* codeset.m4, gettext.m4, glibc21.m4, iconv.m4, intdiv0.m4, po.m4,
	inttypes.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lib-ld.m4,
	lib-link.m4, lib-prefix.m4, nls.m4, progtest.m4, stdint_h.m4,
	uintmax_t.m4, ulonglong.m4: Import from gettext-0.12.1 sources.
2004-09-23 19:43:47 +00:00
DJ Delorie e5d22776dd 2004-08-31 Robert Bowdidge <bowdidge@apple.com>
* mh-ppc-darwin: Add file, and override BOOT_CFLAGS.
2004-09-10 17:49:29 +00:00
Nathanael Nerode c355ca594b 2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Add ACX_{TARGET,HOST,BUILD}_NONCANONICAL,
	which do an automatic AC_SUBST on _GCC_TOPLEV_*_NONCANONICAL.
	The intention is that we will migrate to these bit by bit.
2004-08-13 22:32:31 +00:00
Nathanael Nerode 824cf27387 ChangeLog:
2004-08-01  Robert Millan  <robertmh@gnu.org>

	* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
	libmudflap for all GNU-based systems (with Glibc).
	* configure: Regenerate.

config/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

	* mt-linux: Rename to ...
	* mt-gnu: ... this.
2004-08-03 20:54:19 +00:00
Paolo Bonzini 21ff191e82 2004-06-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (touch-stage[+id+]): New.
	(restage[+prev+]): Depend on touch-stage[+id+].

	* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
	Use it throughout.

	* Makefile.def: Add profile and feedback bootstrap stages.
	Remove next field from bootstrap stages.
	* Makefile.tpl (LN, LN_S): Substitute.
	(stageN-start, stageN-end): Use double-colon rules, to
	provide a hook for additional setup commands.
	(distclean-stageN-gcc, restageN): Create dependencies from
	[+prev+], not from [+next+].
	(stageN-bubble): Add commands for successive stages from
	[+prev+], using double-colon rules.
	(all-stageN-gcc): Fix typo.
	(stagefeedback-start, profiledbootstrap): New.
	* Makefile.in: Regenerate.
	* configure.in: Call ACX_PROG_LN.
	* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (ACX_PROG_LN): From gcc, modified to
	accept a parameter.
2004-06-09 08:32:35 +00:00
Paolo Bonzini c580d51621 2004-05-23 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host_modules): add libcpp.
	* Makefile.tpl: Add dependencies on and for libcpp.
	* Makefile.in: Regenerate.
	* configure.in: Add libcpp host module.
	* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
	From gcc.
2004-05-24 10:45:14 +00:00
DJ Delorie cb2333e85e merge from gcc 2004-05-13 18:14:28 +00:00
DJ Delorie e5259618d8 merge from gcc:
2004-04-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
	* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
	Ada compilation.
	Fix acx_cv_cc_gcc_supports_ada spelling.
2004-04-27 18:28:03 +00:00
DJ Delorie 866c244e59 merge from gcc:
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

	Revert:
	2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (flags_to_pass): Remove *dir variables that
	are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
	as well as prefix and exec_prefix.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (host_modules): Mark with the bootstrap
	flag packages on which gcc depends.
	* Makefile.tpl (all-bootstrap): Use it.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (flags_to_pass): Remove *dir variables that
	are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
	as well as prefix and exec_prefix.
	* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
        * configure: Regenerate.
        * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
        * gcc/Makefile.tpl (compare): Use the result of the test.
        * gcc/Makefile.in: Regenerate.

2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
	Always relocate gcc and prev-gcc to the original names, even
	if the build fails.
	(new-cleanstrap, new-restage1, new-restage2, new-restage3):
	New targets.
2004-04-27 18:25:01 +00:00
Nathanael Nerode cfc26d93b5 (top level)
2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure: Regenerate.

2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

	PR ada/14131
	Move language detection to the top level.
	* configure.in: Find default values for the tools as
	soon as possible.  Disable ada if GNAT is not found.
	Emit error message about missing languages.  Expand
	--enable-languages=all for the gcc subdirectory.

(config)
2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

	PR ada/14131
	Move language detection to the top level.
	* acx.m4 (ACX_PROG_GNAT): New macro, moved here
	from the gcc subdirectory.

2004-03-09  Hans-Peter Nilsson  <hp@axis.com>

	* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
	"-c".  Properly quote parameter for AC_MSG_ERROR.
2004-03-11 05:15:36 +00:00
Maciej W. Rozycki d858958426 * gettext.m4: Quote names of macros to be defined by AC_DEFUN
throughout.

* acinclude.m4: Quote names of macros to be defined by AC_DEFUN
throughout.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2004-01-14 13:41:37 +00:00
Nathanael Nerode f08ed69cbd * gettext.m4: Properly quote arguments to AC_DEFUN. 2003-10-14 21:40:44 +00:00
Nathanael Nerode d1472f0ab5 Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong.  Thanks to Kelley Cook <kcook34@ford.com>.
2003-10-08 21:26:42 +00:00
Daniel Jacobowitz 284d80c385 * acx.m4 (AC_PROG_CPP_WERROR): New. 2003-09-25 14:27:21 +00:00
Daniel Jacobowitz 0903a4aacf * config/no-executables.m4: New file. 2003-08-27 19:14:47 +00:00
Zack Weinberg ea9e7945d6 Import from gcc repository:
2003-07-07  Zack Weinberg  <zack@codesourcery.com>

	* gettext.m4: Delete all former contents.
	(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
	* progtest.m4: New file.

2003-07-04  Zack Weinberg  <zack@codesourcery.com>

	* gettext.m4: New file - copy of gettext.m4 from binutils
2003-07-14 18:38:36 +00:00
Zack Weinberg 5e276f90b2 Clean up white space 2003-07-05 16:54:46 +00:00
DJ Delorie 31bb6de964 * acinclude.m4: Accept i[3456789]86 for machine type. 2003-05-19 18:11:58 +00:00
Nathanael Nerode 9b52096310 <top level>
* configure.in: Switch more things to use maybe dependencies.
	Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
	* configure: Regenerate.
	* Makefile.tpl: Switch more things to use maybe dependencies.
	* Makefile.in: Regenerate.

<config>
	* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
	_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
	GCC_TOPLEV_SUBDIRS.
2003-05-18 15:49:06 +00:00
Nathanael Nerode 98dc659cbb * mh-dgux: Delete. 2003-03-04 07:48:49 +00:00
Alexandre Oliva c991d31031 * acx.m4: Name cache variables properly.
(NCN_STRICT_CHECK_TOOL): If program is not found and
value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2,
depending on whether build != host or not.
(NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix.
2002-12-28 17:57:49 +00:00
Nathanael Nerode 9ce3107655 missed in previous giant commit 2002-12-28 07:09:49 +00:00
Nathanael Nerode bafecfd6dd (toplev)
* configure.in: Convert to autoconf script.  Blow away lots
	of now-redundant Makefile fragments.
	* configure: Generate using Autoconf.
	* Makefile.tpl: Rewrite to reflect autoconfiscation.
	* Makefile.in: Regenerate.
(config)
	* acx.m4: New.
	* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
	mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
	mh-riscos, mh-sysv: Delete.
	* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
	mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.
2002-12-28 07:09:15 +00:00
Nathanael Nerode 6dbec16756 2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
	Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
	* Makefile.in: Regenerate.
	* configure.in: Remove unnecessary leftovers.

2002-12-22  Geoffrey Keating  <geoffk@apple.com>

	* config/mt-aix43: Delete.

2002-12-21  Geoffrey Keating  <geoffk@apple.com>

	* configure.in (extra_ranlibflags_for_target): New variable.
	(*-*-darwin): Add -c to ranlib commands.
	* configure (tooldir): Handle extra_ranlibflags_for_target.
2002-12-23 17:53:41 +00:00
Christopher Faylor 1a7ce58505 * mh-cygwin: Don't build libtermcap if it doesn't exist. 2002-12-17 01:55:28 +00:00
H.J. Lu d1bdb89056 2002-11-23 H.J. Lu <hjl@gnu.org>
* accross.m4: New.
2002-12-16 19:58:06 +00:00
Stan Shebs d13e042939 Retire common MPW configury bits.
* mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.
2002-11-11 05:38:51 +00:00
Martin Schwidefsky ec43b44bb6 Revoke adding mh-s390xpic. Doesn't make any sense because it is not
referenced from anywhere.
2002-06-11 13:34:24 +00:00
Martin Schwidefsky 30b212134b 2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* mh-s390xpic: New file.
2002-06-11 09:46:38 +00:00
DJ Delorie 41dc939161 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. 2002-05-22 21:06:53 +00:00
Nick Clifton 6acce4b8bd Allow for PWDCMD to override hardcoded pwd. 2002-05-22 09:21:32 +00:00
DJ Delorie 5163e201b3 * mh-apollo68: remove unused HDEFINES setting.
* mh-dgux: remove unused HDEFINES setting.
* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true
2002-05-13 21:14:19 +00:00
DJ Delorie 06d55382e6 * config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file
2002-04-30 03:30:24 +00:00
DJ Delorie 60851e839a * configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.
2002-04-30 02:34:18 +00:00
DJ Delorie 6992cde2f8 2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
* config/mh-a68bsd: clean out dead code
	* config/mh-apollo68: clean out dead code
	* config/mh-cxux: clean out dead code
	* config/mh-decstation: clean out dead code
	* config/mh-dgux: clean out dead code
	* config/mh-dgux386: clean out dead code
	* config/mh-hp300: clean out dead code
	* config/mh-hpux: clean out dead code
	* config/mh-hpux8: clean out dead code
	* config/mh-interix: clean out dead code
	* config/mh-irix4: clean out dead code
	* config/mh-lynxrs6k: clean out dead code
	* config/mh-mingw32: clean out dead code
	* config/mh-ncr3000: clean out dead code
	* config/mh-ncrsvr43: clean out dead code
	* config/mh-necv4: clean out dead code
	* config/mh-openedition: clean out dead code
	* config/mh-riscos: clean out dead code
	* config/mh-sco: clean out dead code
	* config/mh-sysv4: clean out dead code
	* config/mh-lynxos: removed, contained only dead code
	* config/mh-vaxult2: removed, contained only dead code
	* config/mh-sun3: removed, contained only dead code
	* configure.in: remove references to dead files
2002-04-19 17:28:04 +00:00
Keith Seitz d76d08a1bd * acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
too.
        (CYG_AC_PATH_TKCONFIG): Likewise.
2002-04-15 21:33:07 +00:00
DJ Delorie fcd631cf70 sync with gcc
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

	* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

	* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

	* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

	* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
	modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

	* mh-ia64pic: New file.
	* mt-ia64pic: New file.
2002-04-12 01:23:53 +00:00
Nick Clifton 1e667f61b7 Add s390 support 2001-02-10 00:58:38 +00:00
Jason Merrill 2ff6d12fa2 merge with gcc 2000-07-22 08:20:10 +00:00
Jason Merrill c32f82c82a merge with gcc 2000-07-21 05:45:22 +00:00
Syd Polk 56ea093dbe 2000-06-19 Syd Polk <spolk@redhat.com>
* acinclude.m4: Updated for Incr Tcl 3.0.
2000-06-27 21:50:33 +00:00
Alan Modra 58dabf5040 Add IBM 370 support. 2000-02-23 13:52:22 +00:00
Nick Clifton 237e6cfa82 Add support for sh-pe and arm-wince-pe targets. 2000-02-23 01:26:59 +00:00
Geoffrey Keating 6dcd016526 Merge in changes from egcs for AIX cross-compilation support. 2000-01-12 18:56:45 +00:00
Richard Henderson a3acbf4694 19990502 sourceware import 1999-05-03 07:29:06 +00:00