summaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
* * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading odrth2001-03-161-1/+1
| | | | | | | | output with a space instead of deleting it. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40565 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro whichzack2001-03-161-49/+94
| | | | | | | | | | | | | | | | | | | | handles the gory details of converting an object file into something that's safe to grep. (gcc_AC_C_COMPILE_BIGENDIAN): Rename to gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put newlines at either end of the string we're looking for. Make 'checking ...' message less stilted. (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle ARM in-memory layout and its hypothetical converse. Don't define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from HOST_WORDS_BIG_ENDIAN. * configure.in: Adjust for renamed macro. Move gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40562 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,zack2001-03-151-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc_AC_C_FLOAT_FORMAT): New macros. * configure.in: Add AC_PROG_CPP after CC tests; gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT. * configure, config.in: Regenerate. * config/a29k/xm-a29k.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/i370/xm-linux.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/mips/xm-mips.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sparc/xm-sparc.h, config/vax/xm-vax.h, config/we32k/xm-we32k.h: Delete. * config/i370/xm-mvs.h, config/m88k/m88k.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/vax/xm-vms.h: Don't define any of: HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here. * config.gcc: Remove references to deleted files. (i370-*-opened*): Use i370/xm-mvs.h (which now defines only FATAL_EXIT_CODE, which is the same between oe and mvs). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40478 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,zack2001-03-141-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc_AC_C_LONG_LONG): New. * configure.in: Use them. Probe the size of short, int, long, and long long/__int64 if we have them. Move all the AC_C_* checks together, except gcc_AC_C_CHAR_BIT which has to go after AC_CHECK_HEADERS(limits.h). Take hwint.h out of host_xm_file and build_xm_file. * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. Move the HOST_WIDEST_INT setup logic here from system.h. Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not defined. * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT is now handled by hwint.h. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, config/c4x/xm-c4x.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h: Don't define any of: HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_LONGLONG. * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/mips/iris6.h, config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, config/sparc/xm-sp64.h: Delete. * config.gcc: Remove references to deleted files. * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/xm-linux.h: Clarify floating-point situation in a comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40446 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty:zack2001-03-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. * configure.in: Replace all alloca logic with a simple use of the above new macro. * config.table: Kill *-*-beos* entry. * config/mh-beos: Delete. * configure, config.in: Regenerate. * Makefile.in (ALLOCA, HFILES): Kill. (REQUIRED_OFILES): Add alloca.o. (alloca.o): Depend on libiberty.h. (argv.o): Don't depend on alloca-conf.h. * alloca-conf.h: Delete. * alloca.c: Include libiberty.h. Kill all #ifdef emacs blocks. Provide the C alloca unconditionally. Use PTR where appropriate. Make i00afunc static. * argv.c: Don't include alloca-conf.h. include: * libiberty.h: Prototype C_alloca; define alloca to either __builtin_alloca or C_alloca as appropriate. gcc: * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE AC_FUNC_ALLOCA. * configure, config.in: Regenerate. * config.gcc: Remove references to deleted files. * genattr.c, genattrtab.c, genextract.c, genoutput.c, genrecog.c, rtl.c: Do not use alloca anywhere. * Makefile.in, build-make, system.h, config/x-interix, config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, config/alpha/xm-alpha.h, config/alpha/xm-vms.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/i370/x-oe, config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, config/i386/x-ncr3000, config/i386/x-sco5, config/i386/xm-dgux.h, config/i860/x-sysv4, config/i960/xm-i960.h, config/m32r/xm-m32r.h, config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, config/m68k/x-hp320g, config/m69k/x-mot3300, config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, config/m68k/xm-mot3300.h, config/m88k/x-dolph, config/m88k/x-sysv4, config/m88k/x-tekXD88, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/x-iris, config/mips/x-iris3, config/mips/x-sni-svr4, config/mips/x-sysv, config/mips/xm-iris6.h, config/mips/xm-mips.h, config/mips/xm-nws3250v4.h, config/pa/x-hpux, config/pa/x-pa-mpeix, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/romp/xm-romp.h, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-beos, config/rs6000/x-lynx, config/rs6000/x-mach, config/rs6000/x-rs6000, config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/x-sysv4, config/sparc/xm-linux.h, config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, config/vax/xm-vms.h: Eradicate all references to alloca and related stuff. * config/xm-alloca.h, config/clipper/x-clix, config/i386/xm-sysv4.h, config/i860/x-fx2800, config/i860/x-sysv3, config/m88k/x-sysv3, config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete (contained only alloca related hacks). * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define USE_C_ALLOCA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40259 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,ghazi2001-02-181-0/+9
| | | | | | | | define HAVE_DECL_* to 1 to mask potential backup declarations. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39814 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-17 Philipp Thomas <pthomas@suse.de>pthomas2001-01-211-0/+4
| | | | | | | | | * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39167 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.msokolov2001-01-211-0/+5
| | | | | | | | | | | | * configure.in (gcc_AC_FUNC_STRSTR): Add invokation. * configure, config.in: Regenerate. * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables. (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling. (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules. (doprint.o): New rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>zack2001-01-121-32/+234
| | | | | | | | | | | | | | | | * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten. Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending which you have. (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE. * configure.in: Set GGC to ggc-page if any of mmap_dev_zero, mmap_anon, and valloc is available. * ggc-page.c: Restructure ifdef logic to match new autoconf spec. Don't throw away the test page in init_ggc. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38934 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-08 Philipp Thomas <pthomas@suse.de>pthomas2000-10-091-1/+1
| | | | | | | | | * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator for test. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-08 Philipp Thomas <pthomas@suse.de>pthomas2000-10-091-3/+7
| | | | | | | | | | | * aclocal.m4 (AM_WITH_NLS): When not using included gettext, disable catalog building if no suitable program was found. Move warning message from here (AM_GNU_GETTEXT): To here. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36800 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-08 Philipp Thomas <pthomas@suse.de>pthomas2000-10-091-18/+64
| | | | | | | | | | | | * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses different cache variables. (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but uses different cache variables. (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36797 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-09-12 Philipp Thomas <pthomas@suse.de>pthomas2000-09-121-1/+1
| | | | | | | | * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36345 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systemslaw2000-07-121-5/+17
| | | | | | | | with MAP_ANONYMOUS and MAP_ANON. * configure, config.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34977 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-26 Philipp Thomas <pthomas@suse.de>pthomas2000-06-261-8/+5
| | | | | | | | | * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34704 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalogpthomas2000-06-251-3/+18
| | | | | | | | | compiler found. AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34692 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-24 Philipp Thomas <pthomas@suse.de>pthomas2000-06-241-7/+11
| | | | | | | | | * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs specified in ALL_LINGUAS. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34674 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_C_INLINE): Added.pthomas2000-06-061-1/+1
| | | | | | | | * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34440 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:pthomas2000-05-311-3/+3
| | | | | | | | | | | | | | | | | | | | * configure.in (enable-nls): Enable if build == host, i.e. when not building a canadian cross compiler. (enable-maintainer-mode): Added for use with i18n. * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a cross section of ALL_LINGUAS and LINGUAS. * configure: Rebuild. gcc/po: * Makefile.in.in: Create compiled catalogs in objdir, not srcdir. Create gcc.pot and cat-tbl-id.c only in maintainer mode. * gcc.pot: Generated and checked in. * cat-tbl-id.c: Generated and checked in. * stamp-cat-id: Generated and checked in. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34303 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2000-05-231-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | * getopt.h (getopt): Also check HAVE_DECL_* when prototyping. * libiberty.h (basename): Likewise. gcc: * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros rewritten from the internals of gcc_AC_NEED_DECLARATION{S}. * configure.in (gcc_AC_CHECK_DECLS): Call this instead of gcc_AC_NEED_DECLARATIONS. * dwarfout.c: Don't prototype time(). * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*. * system.h: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34108 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.zack2000-05-021-0/+25
| | | | | | | | | | * configure.in: Look for makeinfo in the unified tree, then for a system makeinfo which is sufficiently new. * Makefile.in: If configure says makeinfo is too old, don't build or install Info documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33614 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requiresghazi2000-04-261-42/+27
| | | | | | | | | | | | | | | | | | INCLUDES to search and does not provide any of its own. Also it now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED parameters. Also it does not call AC_DEFINE. (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls AC_DEFINE and provides for automatic entries for autoheader. (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test. * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS so we can pass -I flags and include gansidecl.h/system.h in this test. * acconfig.h: Delete all NEED_DECLARATION_* entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33428 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,ghazi2000-04-241-4/+4
| | | | | | | | | | | | | | | | gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three argument form of AC_DEFINE. * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER, HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY, WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK, HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG, HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise. * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33389 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,ghazi2000-04-241-14/+14
| | | | | | | | | | | | | | | | GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE, AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG, EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_. * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S, GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING, GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR, GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with new macros names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33383 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).zack2000-04-171-1/+52
| | | | | | | | | | | | | | (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of a plain file. * configure.in: Call AC_FUNC_MMAP_FILE. * configure: Regenerate. * config.in: Regenerate. * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP. * fixinc/fixincl.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33212 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, a reference to mmap_zero remainedoliva2000-01-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31445 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.oliva2000-01-161-0/+82
| | | | | | | | | * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP. * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO. * configure, config.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31444 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (i?86-*-beos{pe,elf,}*): Recognize.jason2000-01-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files. * i386/beos-elf.h, i386/beos-pe.h: New files. * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New. * cross-make (SYSTEM_HEADER_DIR): Define using CROSS_SYSTEM_HEADER_DIR. * gcc.c (LIBRARY_PATH_ENV): Provide default. (process_command): Use it. (main): Likewise. Kill trailing = from env vars. (build_search_list): Put it back. * collect2.c (main): Use LIBRARY_PATH_ENV. * configure.in (GCC_NEED_DECLARATIONS): Add environ. * toplev.c: Use NEED_DECLARATION_ENVIRON. * tm.texi (Frame Layout): Document SMALL_STACK. * c-common.c (c_common_nodes_and_builtins): Check it. * system.h: Undef alloca after including glibc's <stdlib.h>, if USE_C_ALLOCA is defined. * gcc.c (set_input): New fn. (main): After all input files are compiled, reset the input file info to the first. * aclocal.m4 (rindex, index): If already defined, don't attempt to redefine. * ginclude/varargs.h: (__va_list__): Define ifndef. * ginclude/stdarg.h: Likewise. * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int instead of unsigned char. * hash.h (true, false, boolean): Undef before enum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31366 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.ghazi1999-09-151-0/+19
| | | | | | | | | | | * configure.in (AC_GCC_C_LONG_DOUBLE): Call it. * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2. * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29432 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.law1999-04-151-0/+21
| | | | | | | | | | | * configure.in: Use. * configure: Rebuilt. * acconfig.h (MKDIR_TAKES_ONE_ARG): Add. * config.in: Rebuilt. * system.h: Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26469 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog forlaw1999-01-271-0/+401
| | | | | | | details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24879 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it isghazi1998-09-031-5/+21
| | | | | | | | | | | | | | | safe to include both string.h and strings.h together. (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding which headers to search for function declarations. Continue to prefer string.h over strings.h when both are not acceptable. * acconfig.h (STRING_WITH_STRINGS): Add stub. * configure.in: Call GCC_HEADER_STRING. * system.h: Test STRING_WITH_STRINGS when deciding which headers to include. Continue to prefer string.h over strings.h when both are not acceptable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22204 138bc75d-0d04-0410-961f-82ee72b054a4
* Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTFghazi1998-07-061-1/+1
| | | | | | | | | | | | | | | | | | | directly. Instead, autoconf will only determine whether "%p" works and its up to machmode.h to base its definition of HOST_PTR_PRINTF on that. This ensures that machmode.h is always included to get the definition of HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not found. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. Instead, define a new macro HAVE_PRINTF_PTR which only signifies whether we have the %p format specifier or not. * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR. * machmode.h (HOST_PTR_PRINTF): When determining the definition, check HAVE_PRINTF_PTR to see whether "%p" is okay. * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF. * Makefile.in (mips-tfile.o): Depend on machmode.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20953 138bc75d-0d04-0410-961f-82ee72b054a4
* Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitraryghazi1998-06-301-2/+5
| | | | | | | | | | | | | | | | | header files when searching for function declarations. Use this functionality to check for getrlimit/setrlimit. * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second argument, which is typically preprocessor code used to draw in additional header files when looking for a function declaration. (GCC_NEED_DECLARATIONS): Likewise. * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit and setrlimit, search for them in sys/resource.h. * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and NEED_DECLARATION_SETRLIMIT. * system.h: Prototype getrlimit/setrlimit if necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20831 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.law1998-05-101-0/+10
| | | | | | | | | | | | * alocal.m4 (GCC_C_VOLATILE): New autoconf test. * configure.in: Use GCC_C_VOLATILE. * system.h (volatile): Define as empty if no volatile support is available. * genemit.c (output_add_clobbers): Removed unused variable 'i' from generated fucntion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19653 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle missing vfprintf() & _doprnt() functions with linked in modules,ghazi1998-05-071-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | plus do some general cleanup of variable argument handling. * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro. * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT. (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h. (AC_CHECK_FUNCS): Remove unused check for vprintf. * Makefile.in: Add support for linking in vfprintf.c and doprint.c. (cccp.o): Depend on gansidecl.h. (cexp.o): Likewise. * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as per the rest of gcc source. * cexp.y: Likewise. Include gansidecl.h and remove all code made redundant. * cccp.c: Remove checks for HAVE_VPRINTF and the associated code used when vfprintf is missing. * cexp.y: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * mips-tfile.c: Likewise. * toplev.c: Likewise. * vfprintf.c: New file. * doprint.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19610 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printfrth1998-02-071-0/+21
| | | | | | | | | | functions for whether they support the %p format specifier. * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf. * configure.in (GCC_FUNC_PRINTF_PTR): Use it. * configure, config.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17760 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept alaw1998-02-011-3/+13
| | | | | | | | | | | | | | | | shell variable argument instead of only hard coded functions. (GCC_NEED_DECLARATIONS): New macro to accept multiple functions. * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one call. Collapse multiple calls to GCC_NEED_DECLARATION into one call to GCC_NEED_DECLARATIONS (new macro.) Check if we need declarations for bcopy, bcmp and bzero. * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations. * gansidecl.h: If we have bcopy but don't declare it, then do so. Likewise for bcmp and bzero. Only define macros for bcopy, bcmp, bzero, index and rindex if they aren't already present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17563 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from gcc-2.8law1997-12-071-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened tolaw1997-11-031-10/+10
| | | | | | | | 14 char length. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16298 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Substitute INSTALL.law1997-10-071-0/+1
| | | | | | | * configure: Re-built. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15868 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: New file with replacement for AC_PROG_INSTALL.law1997-09-161-0/+63
| | | | | | | * configure.in: Use EGCS_PROG_INSTALL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15471 138bc75d-0d04-0410-961f-82ee72b054a4
* Add Fred Fish's LN/LN_S patch.wilson1997-09-111-0/+64
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15415 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiondje1997-07-191-0/+27
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14486 138bc75d-0d04-0410-961f-82ee72b054a4