Commit Graph

62 Commits

Author SHA1 Message Date
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