Commit Graph

139 Commits

Author SHA1 Message Date
Doug Evans 42ef1b8fd4 * config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
(SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails.
	(SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain
	"# no Tcl configs found".
	(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

	* gdb/configure.ac (gdbkt): Check both no_tcl/no_tk first, before
	doing any further tcl/tk configury.  Don't configure gdbtk if
	tcl or tk check fails.
	* gdb/aclocal.m4: Regenerate.
	* gdb/configure: Regenerate.
	* gdb/gdbtk/plugins/aclocal.m4: Regenerate.
	* gdb/gdbtk/plugins/configure: Regenerate.
2009-02-02 23:18:05 +00:00
Joseph Myers 7cd48a9bc4 Merge from GCC:
2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

	Fix PR/25502
	* mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch.

2008-11-12  Steve Ellcey  <sje@cup.hp.com>

	PR target/27880
	* unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from
	link test to target based test.
2008-11-27 17:22:10 +00:00
DJ Delorie 9a7bb8d77e Merge from gcc. 2008-08-25 17:07:33 +00:00
Richard Sandiford 59c5956905 * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
* configure: Regenerate.

config/
	* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
	* mt-mips-elfoabi: Include mt-mips16-compat.
	* mt-mips-gnu: New file.
2008-08-16 06:47:17 +00:00
Alan Modra f65427cd09 * mt-spu (all-ld): Update for ld Makefile changes. 2008-08-03 03:38:07 +00:00
Keith Seitz e852daa1f5 * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to deal
with cygwin.
        (SC_PATH_TKCONFIG): Likewise.
2008-08-02 21:20:13 +00:00
Paolo Bonzini 9ad2ea2fd9 2008-07-30 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
	2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: Add makefile fragments for hpux.
        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

	2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

config:
2008-07-30  Paolo Bonzini  <bonzini@gnu.org>

	* mh-pa: New, from gcc/config/pa/x-ada.
	* mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.

2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>

        * tls.m4: Fix typos.
2008-07-30 15:03:57 +00:00
Keith Seitz 2fd104c0a7 * acinclude.m4: Remove libide, libgui, and all the other Tcl
functions.
        * tcl.m4: New file.
2008-07-25 18:00:17 +00:00
Joseph Myers 3e29f67f22 * mh-mingw (LDFLAGS): Append to rather than replacing previous
value.
2008-07-11 11:15:59 +00:00
Ralf Wildenhues 7fb8d61266 * configure: Regenerate.
config/
	* override.m4: Use m4_version_prereq throughout.
	(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
	Autoconf: output pwd along with fatal errors, so the right
	config.log file is hinted at more prominently.
	(PARSE_ARGS): Push setting of ac_pwd in this diversion.
	(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
	(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
	version _GCC_AUTOCONF_VERSION throughout the tree.
	(m4_wrap): New override, fix for Posix semantics of m4wrap.

binutils/
	* configure: Regenerate.

opcodes/
	* configure: Regenerate.

bfd/
	* configure: Regenerate.

gas/
	* configure: Regenerate.

gprof/
	* configure: Regenerate.

ld/
	* config.in: Regenerate.
	* configure: Regenerate.
2008-06-17 23:14:40 +00:00
Joseph Myers 7d6b567a4f * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
	(all prefix="build-"): Pass them to build-system sub-makes.
	* Makefile.in: Regenerate.

config:
	* config/mh-mingw (LDFLAGS): Define.
2008-06-08 16:19:22 +00:00
Danny Smith f769e691e7 PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.
2008-06-06 02:32:32 +00:00
Paolo Bonzini 080fcb854e 2008-05-12 Samuel Tardieu <sam@rfc1149.net>
Paolo Bonzini  <bonzini@gnu.org>

	PR ada/36001
	* acx.m4: Add optional parameter to ACX_PROG_GNAT.
2008-05-12 16:25:40 +00:00
Paolo Bonzini 6182aac6f7 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
* confsubdir.m4: Remove.
	* override.m4: Apply _AC_ARG_VALIDATE fix to all versions
	but 2.62.
2008-04-23 10:24:41 +00:00
Paolo Bonzini edd8c1726e 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
	2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/35457
	* configure.ac: Include override.m4.
	* configure: Regenerate.

	2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (restrap): Call `make all' using double-colon rules.
        * Makefile.in: Regenerate.

	2008-04-11  Eric B. Weddington  <eweddington@cso.atmel.com>

        * configure.ac: Do not build libssp for the AVR.
        * configure: Regenerate.

config:
2008-04-18  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/35457

	* override.m4: Add this.  Make sure aclocal always picks it.
	Add more lenient precious variable check, backported from
	autoconf trunk.
2008-04-18 11:07:31 +00:00
Nick Clifton 981b79bf04 PR binutils/4334
* acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): New macro to check that
        cygwin builds are not running in textmode.

        * configure.ac: Run ACX_CHECK_CYGWIN_CAT_WORKS for cygwin hosted
        builds.
        * configure: Regenerate.
2008-04-04 11:45:58 +00:00
Paolo Bonzini 75cb662405 2008-03-27 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove.
	* Makefile.in: Regenerate.

config:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* extensions.m4: New.

2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* mh-armpic: Remove.
	* mh-i370pic: Remove.
	* mh-m68kpic: Remove.
	* mh-ppcpic: Remove.
	* mh-sparcpic: Remove.
	* mh-ia64pic: Remove.
	* mh-papic: Remove.
	* mh-s390pic: Remove.
	* mh-x86pic: Remove.

libiberty:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac (frags): Don't set, use frag instead.
	(PICFLAG): Set here and substitute.
	* Makefile.in (PICFLAG): Substitute from autoconf.
	* configure: Regenerate.
2008-03-27 14:16:55 +00:00
Ralf Wildenhues 07f8aa8233 Fix ChangeLog date. 2008-03-18 06:20:40 +00:00
Ralf Wildenhues e30fd60fb5 * configure.ac: m4_include config/proginstall.m4.
* configure: Regenerate.
config/
        * proginstall.m4: New file, with fixed AC_PROG_INSTALL.
bfd/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
bfd/doc/
        * Makefile.in: Regenerate.
intl/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
gas/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
        * doc/Makefile.in: Likewise.
ld/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
opcodes/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
binutils/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
        * doc/Makefile.in: Likewise.
gprof/
        * aclocal.m4: Regenerate.
        * configure: Likewise.
        * Makefile.in: Likewise.
2008-03-17 22:17:29 +00:00
Paolo Bonzini 1f71763a62 config:
2008-02-20  Uros Bizjak  <ubizjak@gmail.com>

	* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
2008-02-20 16:28:09 +00:00
Paolo Bonzini 6532abb624 2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
        PR bootstrap/32161

        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
        * configure: Regenerate.

        * Makefile.def: Define stage_libcflags for all bootstrap stages.
        * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
        STAGE4_LIBCFLAGS): New.
        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
        for target modules.  Don't export LIBCFLAGS.
        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
        * Makefile.in: Regenerate.

config:
2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20 14:26:59 +00:00
Jakub Jelinek 84a49ec5c4 * futex.m4: New file. 2008-01-08 17:29:24 +00:00
Richard Sandiford 6320370052 config/
* mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =.
	* mt-mips-elfoabi: Likewise.
2007-12-06 17:44:07 +00:00
Maciej W. Rozycki 81e857de3f * tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.
2007-10-16 10:45:50 +00:00
Kazu Hirata 26c28af8b2 * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function. 2007-10-03 14:35:31 +00:00
Richard Sandiford 512d8d8bac config/
* mt-sde (CFLAGS_FOR_TARGET): Replace -fno-optimize-sibling-calls
	with -minterlink-mips16.
	(CXXFLAGS_FOR_TARGET): Likewise.
2007-09-21 07:34:10 +00:00
Richard Sandiford 2d2e75dd67 * configure.ac (mipsisa*-*-elfoabi*): New stanza.
* configure: Regenerate.

config/
	* mt-mips-elfoabi: New file.
2007-09-20 20:03:31 +00:00
DJ Delorie 130377028d Rearrange to sync with gcc. 2007-09-12 18:51:47 +00:00
H.J. Lu 420cb19173 Move the last entry to proper ChangeLog. 2007-09-12 04:42:14 +00:00
Andrew Haley fd1c1753af 2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR target/33281
        * configure.ac: Use config/mh-mingw on mingw.
        * configure: Regenerate.
        * config/mh-mingw: New host makefile fragment.
2007-09-11 13:10:20 +00:00
Richard Sandiford e57c0627c3 config/
* mt-sde (CFLAGS_FOR_TARGET): Add -mno-gpopt.
	(CXXFLAGS_FOR_TARGET): Likewise.
2007-09-07 07:38:47 +00:00
Richard Sandiford b440439a89 Move changelog 2007-08-30 20:22:12 +00:00
Joseph Myers fcc5fef0b0 2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers  <joseph@codesourcery.com>

	* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
	(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
	* Makefile.in: Regenerate.
	* configure.ac (--with-debug-prefix-map): New.
	* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* mt-gnu (CXXFLAGS_FOR_TARGET): Add
	$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
2007-08-18 15:19:10 +00:00
Richard Sandiford 2ad518b5a0 2007-08-17 Richard Sandiford <richard@codesourcery.com>
Nigel Stephens  <nigel@mips.com>

	* config/mt-sde: New file.
	* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
	as target_makefile_frag.
	* configure: Regenerate.
2007-08-17 13:15:24 +00:00
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