aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
AgeCommit message (Collapse)AuthorFilesLines
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford1-0/+1
From-SVN: r91625
2004-10-20re PR java/15575 (HAVE_LANGINFO_CODESET never defined)Bryce McKinlay1-0/+16
2004-10-20 Bryce McKinlay <mckinlay@redhat.com> PR java/15575 * configure.ac: Declare AM_LANGINFO_CODESET. * aclocal.m4: Define AM_LANGINFO_CODESET. * configure, config.in: Rebuilt. From-SVN: r89345
2004-10-12configure.ac (symbolic_link): Replace with $LN_S.Paolo Bonzini1-2/+7
2004-10-06 Paolo Bonzini <bonzini@gnu.org> * configure.ac (symbolic_link): Replace with $LN_S. (Assembler/Linker): Hard link from gas and binutils trees. * aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp. * configure: Regenerate. From-SVN: r88920
2004-09-27aclocal.m4: Quote m4_includes.R. Kelley Cook1-9/+10
2004-09-27 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Quote m4_includes. Include ../config/gcc-lib-path.m4. * configure.ac: Don't sinclude it here. * configure: Regenerate. From-SVN: r88205
2004-09-23aclocal.m4: Add in gettext's m4 includes.Kelley Cook1-153/+9
2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Add in gettext's m4 includes. (AC_ICONV, AC_LCMESSAGES, GCC_PATH_PROG): Remove. * configure.ac: Add in check for iconv.m4 * configure: Regenerate. From-SVN: r87908
2004-09-22gettext-sister.m4: Renamed from gettext.m4Kelley Cook1-1/+1
config/ 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. gcc/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Update for rename of gettext-sister.m4. libcpp/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (aclocal.m4): Update dependencies. * configure.ac (AC_CONFIG_MACRO_DIR): New. * aclocal.m4, configure: Regenerate. intl/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (AC_CONFIG_MACRO_DIR): New. (ACLOCAL, AUTOCONF, AUTOHEADER, MAINT): Substitute. * Makefile.in: Update with maintainer mode rules. * README: Update aclocal regeneration instructions. * aclocal.m4, configure: Regenerate. From-SVN: r87900
2004-09-22aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND.Kelley Cook1-0/+102
gcc/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. * configure.ac: Call AM_PROG_CC_C_O instead of AC_PROG_CC_C_O. Create build and doc directories along with the language directories. Don't create doc directory separately. * configure: Regenerate. * Makefile.in: Create all object and executables files built with the build compiler in a build/ directory. (genobjnames): Add missing build objects. (STAGESTUFF): Don't stage the gen* programs. (ggc-none.o): Define dependencies for the target compiler. (build-print-rtl.o): Rename to build/print-rtl.o. (build-errors.o): Rename to build/errors.o. (build-varray.o): Rename to build/varray.o. (maintainerclean): Delete the contents of the build directory. ($(genobjs): %.o): Explicitly use -o. (build/insn-conditions.o): Delete specfic rule to use generic rule. (build/gengtype-lex.o): Likewise. (build/gengtype-yacc.o): Likewise. (build/gcov-iov.o): Likewise. gcc/java 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Revert the gcc-none.o change. From-SVN: r87854
2004-09-17configure.ac (gcc_cv_gld_version): Handle whitespace before "VERSION=".Hans-Peter Nilsson1-1/+1
* configure.ac (gcc_cv_gld_version): Handle whitespace before "VERSION=". * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Ditto. * configure: Regenerate. From-SVN: r87643
2004-08-03aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() ↵Maciej W. Rozycki1-2/+6
explicitly instead of relying on preset... 2004-07-30 Maciej W. Rozycki <macro@linux-mips.org> * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset autoconf cache variables. * configure: Regenerate. From-SVN: r85498
2004-06-09Makefile.tpl (touch-stage[+id+]): New.Paolo Bonzini1-42/+6
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. gcc/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_PROG_LN): Remove. (gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate config.in entries. * configure.ac: Call ACX_PROG_LN, falling back to $LN_S if hard links are not available. * configure: Regenerate. * config.in: Regenerate. From-SVN: r82816
2004-05-24Makefile.def (host_modules): add libcpp.Paolo Bonzini1-36/+0
ChangeLog: 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. gcc/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> Move libcpp to the toplevel. * Makefile.in: Remove references to libcpp files, use CPPLIBS instead of libcpp.a. Define SYMTAB_H and change hashtable.h to that. * aclocal.m4 (gcc_AC_HEADER_STDBOOL, gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. * configure: Regenerate. * config.in: Regenerate. * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. * cppcharset.c: Removed. * cpperror.c: Removed. * cppexp.c: Removed. * cppfiles.c: Removed. * cpphash.c: Removed. * cpphash.h: Removed. * cppinit.c: Removed. * cpplex.c: Removed. * cpplib.c: Removed. * cpplib.h: Removed. * cppmacro.c: Removed. * cpppch.c: Removed. * cpptrad.c: Removed. * cppucnid.h: Removed. * cppucnid.pl: Removed. * cppucnid.tab: Removed. * hashtable.c: Removed. * hashtable.h: Removed. * line-map.c: Removed. * line-map.h: Removed. * mkdeps.c: Removed. * mkdeps.h: Removed. * stringpool.h: Include symtab.h instead of hashtable.h. * tree.h: Include symtab.h instead of hashtable.h. * system.h (O_NONBLOCK, O_NOCTTY): Do not define. gcc/cp/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * Make-lang.in: No need to specify $(LIBCPP). gcc/java/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * Make-lang.in: Link in $(LIBCPP) instead of mkdeps.o. libcpp/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> Moved libcpp from the gcc subdirectory to the toplevel. * Makefile.am: New file. * Makefile.in: Regenerate. * configure.ac: New file. * configure: Regenerate. * config.in: Regenerate. * charset.c: Moved from gcc/cppcharset.c. Add note about brokenness of input charset detection. Adjust for change in name of cppucnid.h. * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. * expr.c: Moved from gcc/cppexp.c. * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. Remove #define of O_BINARY, it is in system.h. * identifiers.c: Moved from gcc/cpphash.c. * internal.h: Moved from gcc/cpphash.h. Change header guard name. All other files adjusted to match name change. * init.c: Moved from gcc/cppinit.c. (init_library) [ENABLE_NLS]: Call bindtextdomain. * lex.c: Moved from gcc/cpplex.c. * directives.c: Moved from gcc/cpplib.c. * macro.c: Moved from gcc/cppmacro.c. * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. * traditional.c: Moved from gcc/cpptrad.c. * ucnid.h: Moved from gcc/cppucnid.h. Change header guard name. * ucnid.pl: Moved from gcc/cppucnid.pl. * ucnid.tab: Moved from gcc/cppucnid.tab. Change header guard name. * symtab.c: Moved from gcc/hashtable.c. * line-map.c: Moved from gcc. Do not include intl.h. * mkdeps.c: Moved from gcc. * system.h: New file. libcpp/include/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * cpplib.h: Moved from gcc. Change header guard name. * line-map.h: Moved from gcc. Change header guard name. * mkdeps.h: Moved from gcc. Change header guard name. * symtab.h: Moved from gcc/hashtable.h. Change header guard name. libcpp/po/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * be.po: Extracted from gcc/po/be.po. * ca.po: Extracted from gcc/po/ca.po. * da.po: Extracted from gcc/po/da.po. * de.po: Extracted from gcc/po/de.po. * el.po: Extracted from gcc/po/el.po. * es.po: Extracted from gcc/po/es.po. * fr.po: Extracted from gcc/po/fr.po. * ja.po: Extracted from gcc/po/ja.po. * nl.po: Extracted from gcc/po/nl.po. * sv.po: Extracted from gcc/po/sv.po. * tr.po: Extracted from gcc/po/tr.po. From-SVN: r82199
2004-03-11(top level)Paolo Bonzini1-35/+0
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. (gcc) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * configure.ac: Remove code to detect languages, it now lives exclusively in the top level. * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the top level, renamed to ACX_PROG_GNAT. (gcc/ada) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * config-lang.in: Build by default. From-SVN: r79299
2004-01-03configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.Nathanael Nerode1-21/+0
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. * configure: Regenerate. From-SVN: r75364
2004-01-03configure.in: Rename to configure.ac.Nathanael Nerode1-1/+1
* configure.in: Rename to configure.ac. * configure.ac: Renamed from configure.in; make minimum necessary changes for autoconf 2.5x. * aclocal.m4: Make minimum necessary changes for autoconf 2.5x. * configure: Regenerate with autoconf 2.57. From-SVN: r75362
2003-12-07configure.in, aclocal.m4: Revert to pre-2.5x conversion status.Nathanael Nerode1-1/+22
* configure.in, aclocal.m4: Revert to pre-2.5x conversion status. * configure: Regenerate with autoconf 2.13. From-SVN: r74396
2003-12-07configure.in: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.Nathanael Nerode1-21/+0
* configure.in: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. * configure: Regenerate. From-SVN: r74391
2003-12-07configure.in: Make minimum necessary changes for autoconf 2.5x.Nathanael Nerode1-1/+1
* configure.in: Make minimum necessary changes for autoconf 2.5x. * aclocal.m4: Make minimum necessary changes for autoconf 2.5x. * configure: Regenerate with autoconf 2.58. From-SVN: r74388
2003-12-03aclocal.m4 (AM_ICONV): Add explicit check for iconv.h.Zack Weinberg1-0/+2
* aclocal.m4 (AM_ICONV): Add explicit check for iconv.h. * config.in, configure.in: Regenerate. * cpphash.h, java/lex.h: Check both HAVE_ICONV and HAVE_ICONV_H before including iconv.h. From-SVN: r74234
2003-11-26aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC.Nathanael Nerode1-30/+17
* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC. * configure: Regenerate. From-SVN: r73960
2003-11-01aclocal.m4: Blacklist ultrix* for mmap file.John David Anglin1-1/+1
* aclocal.m4: Blacklist ultrix* for mmap file. * configure: Rebuilt. From-SVN: r73169
2003-10-14* aclocal.m4: Properly quote names of macros being defined.Nathanael Nerode1-17/+17
From-SVN: r72499
2003-10-01aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.John David Anglin1-1/+1
* aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist. * configure: Rebuilt. From-SVN: r71999
2003-10-01aclocal.m4: Add ultrix* to /dev/zero blacklist.John David Anglin1-1/+1
* aclocal.m4: Add ultrix* to /dev/zero blacklist. * configure: Rebuilt. From-SVN: r71987
2003-09-23Makefile.in (gnucompare*): Merge into ...Kaveh R. Ghazi1-4/+14
* Makefile.in (gnucompare*): Merge into ... (slowcompare*): ... here. (fastcompare*): New targets. * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): Add checks for other "fast" cmp programs. * configure: Regenerate. From-SVN: r71703
2003-08-12configure.in (make_compare_target): Move test to ...Kelley Cook1-0/+23
2003-08-08 Kelley Cook <kelleycook@wideopenwest.com> * configure.in (make_compare_target): Move test to ... * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here. * configure: Regenerate. From-SVN: r70392
2003-07-24aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if it's not ↵Nathanael Nerode1-0/+3
provided. * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if it's not provided. * configure: Rebuild. From-SVN: r69737
2003-07-12aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE...Zack Weinberg1-17/+72
* aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE, uses three-argument AC_DEFINE so no acconfig.h entries are needed. (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers which contains the GAS version number as a scaled integer. (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add ability to check for ELF assembler. (gcc_GAS_CHECK_FEATURE): New macro. * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all assembler feature checks using gcc_GAS_CHECK_FEATURE. Use three-argument AC_DEFINE everywhere. * acconfig.h: Deleted. * config.in, configure: Regenerate. From-SVN: r69272
2003-07-08Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.Zack Weinberg1-0/+33
top: * Makefile.tpl (configure-gcc): Depend on maybe-configure-intl. * Makefile.in: Regenerate. config: * gettext.m4: Delete all former contents. (ZW_GNU_GETTEXT_SISTER_DIR): New macro. * progtest.m4: New file. gcc: * Makefile.in (top_builddir): Set to "..", not ".". (INTLLIBS, INTLDEPS): Delete. (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted. (LIBDEPS): Add $(LIBICONV_DEP). (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV). (INCLUDES): Replace -I../intl with @INCINTL@. ($(top_builddir)/intl/libintl.a): Delete rule. (stage2-start, stage3-start, stage4-start, stageprofile-start, stagefeedback-start): Use $$ for variable to be evaluated by shell, not make. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Delete. * aclocal.m4: sinclude ../config/progtest.m4. Add contents of lcmessage.m4 from gettext distro. * configure.in: Check for wchar.h and setlocale. Set LIBICONV_DEP to the empty string and substitute it. Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls; this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR, not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included in $LIBINTL, to avoid linking it twice. * configure, config.in: Regenerate. intl: * README: Update. * Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS, mkinstalldirs, gettextsrcdir, l): Delete. (COMPILE): Add $(DEFS-$@), remove $(XCFLAGS). (HEADERS): libgnuintl.h not libgnuintl.h.in. Remove os2compat.h. (SOURCES): Remove os2compat.c. (DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o, DEFS-relocatable.o): New. (all-yes): Add config.intl. (libintl.h): Use cp, not cat. (INCLUDES): Remove -I.. (TAGS, CTAGS, ID): Word wrap. (mostlyclean, distclean): Remove junk. (config.intl): New rule. * aclocal.m4: sinclude ../config/progtest.m4 instead of including it inline. * config.intl.in: New file. * configure.in: Take out unnecessary AC_CONFIG_AUX_DIR. Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH, LIBDIR, INSTALLDIR. Set LIBINTL_DEP and INCINTL and AC_SUBST them. Add config.intl to AC_OUTPUT. * os2compat.c, os2compat.h: Delete, unused. From-SVN: r69071
2003-07-04intl: New directory; see intl/ChangeLog for details.Zack Weinberg1-546/+1
top: * intl: New directory; see intl/ChangeLog for details. * ABOUT-NLS, config.rpath: Import from gettext 0.12.1. * Makefile.tpl: all-gcc depends on maybe-all-intl. * Makefile.in: Regenerate. config: * gettext.m4: New file - copy of gettext.m4 from binutils CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4. gcc: * ABOUT-NLS: Delete. * intl: Delete entire directory. * aclocal.m4: Include ../config/gettext.m4. Delete AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT. * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT. Remove intl/Makefile from all_outputs. * configure, config.in: Regenerate. * Makefile.in: Expunge all references to intl subdirectory. Add -I../intl to INCLUDES. * intl.h: Include libintl.h if and only if ENABLE_NLS is defined. intl: * Makefile.in: Remove unnecessary capabilities for installation, build of shared libraries, generation of distribution tarballs, etc. Fix all the places that rely on the parent directory. Don't generate libgnuintl.h from anything; do generate $(objdir)/libintl.h from libgnuintl.h if necessary. Adjust DEFS for use of config.h. * libgnuintl.h.in: Rename libgnuintl.h. * README: New file. * config.charset, ref-add.sin, ref-del.sin: Delete (unused). * COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant). * aclocal.m4: New; generated per instructions in gettext manual. * configure.in: New; written from scratch for this configuration. * configure, config.h.in: Generated. contrib: * gcc_update: Remove gcc/intl/plural.c from list. Add new generated files intl/plural.c, intl/configure, intl/config.h.in. From-SVN: r68928
2003-06-21safe-ctype.h (HC_UNKNOWN, [...]): New #defines.Zack Weinberg1-28/+0
include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): New #defines. libiberty: * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET for charset determination. gcc: * aclocal.m4 (gcc_AC_C_CHARSET): Delete. * configure.in: Don't use gcc_AC_C_CHARSET. * configure, config.in: Regenerate. * config/i370/i370.c, config/i370/i370.h: Use (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. From-SVN: r68317
2003-06-17alloc-pool.c: Don't check HAVE_LONG_DOUBLE.Kaveh R. Ghazi1-30/+0
gcc: * alloc-pool.c: Don't check HAVE_LONG_DOUBLE. * fixinc/gnu-regex.c: Don't define `volatile'. * ggc-page.c: Don't check HAVE_LONG_DOUBLE. * ggc-simple.c: Likewise. * system.h: Don't define `volatile'. * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete. * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't call these macros. * config.in, configure: Regenerated. include: * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. From-SVN: r68085
2003-06-10Makefile.in, [...]: Replace "build_canonical" with build, "host_canonical" ↵Nathanael Nerode1-0/+1
with host. * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas: Replace "build_canonical" with build, "host_canonical" with host. * configure.in: Use GCC_TOPLEV_SUBDIRS. * aclocal.m4: Include ../config/acx.m4. * configure: Regenerate. (ada) * Makefile.in: Replace "host_canonical" with "host" for autoconf substitution. From-SVN: r67691
2003-06-04re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare ↵Zack Weinberg1-343/+79
7.1.1) PR bootstrap/3163 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete. (gcc_AC_FUNC_MMAP_BLACKLIST): New. * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS and AC_CHECK_FUNCS lists, respectively. Use gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor AC_FUNC_MMAP_FILE. * configure, config.in: Regenerate. From-SVN: r67467
2003-03-21aclocal.m4 (gcc_AC_EXAMINE_OBJECT, [...]): Delete.Zack Weinberg1-139/+0
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete. * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT. * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN in comment. From-SVN: r64672
2003-03-12aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION.Nathanael Nerode1-0/+50
* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION. * configure.in: Use them. * configure: Regenerate. From-SVN: r64263
2003-01-13aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend ${ac_tool_prefix} to ↵Alexandre Oliva1-4/+1
ADAC or CC. * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend ${ac_tool_prefix} to ADAC or CC. Protect them from word splitting. * configure: Rebuilt. From-SVN: r61254
2003-01-08aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache variable.Andreas Schwab1-3/+3
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache variable. * configure: Regenerated. From-SVN: r61047
2003-01-07configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.Andreas Schwab1-20/+14
* configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY. Move --enable-initfini-array check ... * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define HAVE_INITFINI_ARRAY also when --enable-initfini-array is given. Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN. * configure: Rebuild. From-SVN: r61018
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-74/+4
From-SVN: r60174
2002-11-23aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not allow mmap from ↵Geoffrey Keating1-8/+13
/dev/zero. * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not allow mmap from /dev/zero. Don't make decisions for the host based on presence or absence of /dev/zero on the build machine. (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON. (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file. * configure: Regenerate. From-SVN: r59394
2002-11-07crtend.asm: Include "auto-host.h".David Mosberger1-0/+26
* config/ia64/crtend.asm: Include "auto-host.h". [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array. * config/ia64/crtbegin.asm: Similarly. * config/ia64/t-ia64 (crtbegin.o): Include from current directory. (crtend.o, crtbeginS.o, crtendS.o): Likewise. * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New. * configure.in: Use it if --enable-initfini-array not specified. * doc/install.texi (Configuration): Document --enable-initfini-array. * configure, config.in: Rebuild. From-SVN: r58909
2002-01-22re PR java/4972 (undefined reference to `libiconv')Craig Rodrigues1-3/+4
2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> PR java/4972 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv in LIBICONV variable. * configure: Regenerated. From-SVN: r49105
2001-12-21aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in subshells.Kaveh R. Ghazi1-1/+1
* aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in subshells. * configure.in: Likewise for perl Pod::Man. * configure: Regenerated. From-SVN: r48230
2001-11-30Purge cruft now we have build libiberty.Zack Weinberg1-21/+0
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR, HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR, USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT, USE_HOST_STRSTR): Delete variables. (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o, hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o, $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules. (LIBIBERTY, BUILD_LIBIBERTY): New variables. (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY). (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY). (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY). (HOST_LIBS): Ditto. (HOST_RTL): Remove hashtab.o safe-ctype.o. (OBJS): Remove splay-tree.o. (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a. (distclean): No need to delete splay-tree.c obstack.c hashtab.c safe-ctype.c. (mostlyclean): Delete build copies of print-rtl.c bitmap.c errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1). * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR): Delete. * configure.in: Don't use them. Set and substitute @FORBUILD@. * config.in, configure: Regenerate. * doprint.c: Move to libiberty/_doprnt.c. * doc/configterms.texi: Document that libiberty is now built up to three times. Fix typo. * f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS) and link with $(HOST_LIBS), not safe-ctype.o. From-SVN: r47475
2001-11-06aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.Zack Weinberg1-40/+37
* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS. (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files corresponding to the complete set of .po and .gmo files in the source directory's po subdir, modified by LINGUAS. Don't look at ALL_LINGUAS. * configure.in: Don't set ALL_LINGUAS. * configure: Regenerate. * Makefile.in (.po.gmo): Don't move into source directory. (.po.pox): Clarify comments. (install-po): Look for .gmo files in both srcdir and objdir; don't fail if a file is totally missing. (distclean): rmdir ada subdirectory too. From-SVN: r46800
2001-10-31Makefile.in (INTL_TARGETS, POSUB): Delete all references.Zack Weinberg1-1/+2
* Makefile.in (INTL_TARGETS, POSUB): Delete all references. (INTL_SUBDIRS): Just intl. (.SUFFIXES): Add .gmo .po .pox. (native): Also depend on build-@POSUB@. (intl.all, intl.install): Depend on config.h and things it includes. (po-generated): New target; depend on c-parse.c and tradcif.c. (install-normal): Also depend on install-@POSUB@. (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables. (build-, install-, build-po, update-po, install-po, .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules. * aclocal.m4: Prefix each entry in CATALOGS with "po/" * configure.in: Don't munge XGETTEXT. Don't generate po/Makefile.in. * configure: Regenerate. * exgettext: Delete. * config/m68k/m68k.h: Add doc strings for -msky and -mnosky. * cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated. po: * EXCLUDES: New file. * exgettext: New helper script; completely rewritten. * Makefile.in.in, POTFILES.in: Delete. From-SVN: r46680
2001-10-21aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, ↵Zack Weinberg1-0/+4
which does not include $LIBICONV. * aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which does not include $LIBICONV. * Makefile.in: Use INTLDEPS in LIBDEPS. * configure: Regenerate. intl: * dcigettext.c: Don't use #elif. * gettextP.h: Prototype nls_uint32 and locale_charset here. Always define ZERO to 1 to avoid warnings (ZERO is used in flexible-array-member declarations). * loadmsgcat.c: Apply __extension__ to structure definitions using C99 designated initializer syntax. Do not prototype locale_charset here. * localcharset.c: Prototype get_charset_aliases before use. Get rid of STATIC nonsense. From-SVN: r46394
2001-10-19aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL ↵Zack Weinberg1-1/+10
when appropriate. * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate. * configure, config.in: Regenerate. * Makefile.in (datadir): Set to @datadir@. (intl.o): Also depend on $(CONFIG_H) and system.h. * intl.c: Factor out common gettext initialization sequence. (gcc_init_libintl): New function. * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL; otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn off NLS. Add multiple include guard. No need to #ifdef-guard an #undef. Prototype gcc_init_libintl here. * collect2.c (main), cppmain.c (general_init), gcc.c (main), gcov.c (main), protoize.c (main), toplev.c (toplev_main): Use gcc_init_libintl. intl: * Makefile.in: Don't copy libgnuintl.h anywhere. From-SVN: r46348
2001-10-12ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.Zack Weinberg1-408/+517
top: * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40. * configure.in, Makefile.in: Take out obsolete check-po logic. * configure, config.in: Regenerate. intl: * Update entire directory from gettext 0.10.40. * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed: Removed. * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h, localcharset.c, locale.alias, ngettext.c, plural.c, plural.y, ref-add.sin, ref-del.sin: New. po: * Makefile.in.in: Upgrade to gettext-0.10.40. * cat-id-tbl.c: Remove file. * stamp-cat-id: Remove file. From-SVN: r46233
2001-10-08aclocal.m4 (gcc_AC_PROG_GNAT): New.Zack Weinberg1-0/+51
top: * aclocal.m4 (gcc_AC_PROG_GNAT): New. * configure.in: Use it. * configure: Regenerated. * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS. ada: * Make-lang.in (ADAFLAGS): Add -W -Wall. (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. (gnat1): Also depend on attribs.o. (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. (ADAC): Set to @ADAC@ in stage1, $(CC) later. (ADAFLAGS): Add -W -Wall. (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; take out CFLAGS. (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): Use $(ADAC), not $(CC), as compilation command. (gnattools): Depend directly on tools to build, don't use recursive make. (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. * einfo.h, sinfo.h: New files (autogenerated). From-SVN: r46085