aboutsummaryrefslogtreecommitdiff
path: root/config/acx.m4
AgeCommit message (Collapse)AuthorFilesLines
2009-11-20sync config with gcc:Paolo Bonzini1-1/+1
2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.
2008-05-122008-05-12 Samuel Tardieu <sam@rfc1149.net>Paolo Bonzini1-2/+3
Paolo Bonzini <bonzini@gnu.org> PR ada/36001 * acx.m4: Add optional parameter to ACX_PROG_GNAT.
2008-04-04 PR binutils/4334Nick Clifton1-0/+23
* 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.
2007-07-02 * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for crossMike Stump1-2/+4
builds. * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds. (ACX_HAVE_GCC_FOR_TARGET): Likewise.
2007-06-142007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-4/+0
* acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.
2007-03-262007-03-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-6/+13
* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first when setting REPORT_BUGS_TEXI.
2007-03-232007-03-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for REPORT_BUGS_TEXI.
2007-03-23bfd:Joseph Myers1-0/+38
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL. * configure: Regenerate. config: * acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
2007-03-07 * configure: Regenerate.Andreas Schwab1-2/+4
config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT.
2007-02-18ChangeLog:Alexandre Oliva1-1/+29
* 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-092007-02-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-2/+34
* 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 * Makefile.tpl (build_alias, host_alias, target_alias): UseDaniel Jacobowitz1-1/+1
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.
2006-12-292006-12-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+2
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-07-192006-07-19 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+15
* 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-02-142006-02-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-6/+12
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-01-262006-01-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-14/+155
* 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.
2005-12-05toplevel:Paolo Bonzini1-0/+31
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-08-12toplevel:Paolo Bonzini1-51/+37
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-04-292005-04-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+0
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-02-282005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-2/+7
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.
2004-08-132004-08-13 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-0/+24
* 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-06-092004-06-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+24
* 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-05-242004-05-23 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+34
* 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-13merge from gccDJ Delorie1-0/+31
2004-04-27merge from gcc:DJ Delorie1-2/+5
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-03-11(top level)Nathanael Nerode1-0/+35
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.
2003-09-25 * acx.m4 (AC_PROG_CPP_WERROR): New.Daniel Jacobowitz1-0/+15
2003-05-18<top level>Nathanael Nerode1-0/+61
* 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.
2002-12-28* acx.m4: Name cache variables properly.Alexandre Oliva1-13/+11
(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-28missed in previous giant commitNathanael Nerode1-0/+83