summaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
* 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2002-01-221-3/+4
| | | | | | | | | | PR java/4972 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv in LIBICONV variable. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49105 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers inghazi2001-12-211-1/+1
| | | | | | | | | | subshells. * configure.in: Likewise for perl Pod::Man. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48230 138bc75d-0d04-0410-961f-82ee72b054a4
* Purge cruft now we have build libiberty.zack2001-11-301-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47475 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.zack2001-11-061-40/+37
| | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46800 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (INTL_TARGETS, POSUB): Delete all references.zack2001-10-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46680 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AM_WITH_NLS): Also create and substitutezack2001-10-211-0/+4
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46394 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H andzack2001-10-191-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46348 138bc75d-0d04-0410-961f-82ee72b054a4
* top:zack2001-10-121-408/+517
| | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46233 138bc75d-0d04-0410-961f-82ee72b054a4
* top:zack2001-10-081-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46085 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/2812:tromey2001-07-181-0/+70
| | | | | | | | | | * configure: Rebuilt. * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV instead. * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44119 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Quote final argument of patsubst. Usezack2001-05-261-3/+6
| | | | | | | | | | 3-argument form of AC_DEFINE. Restore quotes to [] while using AC_FD_CC. * configure.in: Remove unnecessary changequote calls. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42617 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Fixed typo.rth2001-05-251-1/+26
| | | | | | | | | | | (gcc_AC_HEADER_STDBOOL): Define. (gcc_AC_C__BOOL): Define. * configure.in: Use them. (AC_CHECK_HEADERS): Remove stdbool.h * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42578 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-01 Zack Weinberg <zackw@stanford.edu>zack2001-05-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}. Remove references to deleted files. (*-*-openbsd): No need to override xmake_file. (*-*-sysv4): Treat like *-*-sysv. * configure.in: Probe for ldopen in various places, and set up collect2 to be linked with them if found. Don't dink with Windows registry stuff unless $host_os is a Win32 os name. Check to see if we need -ladvapi32. * configure: Regenerate. * Makefile: Get rid of CLIB and HOST_CLIB. Substitute in COLLECT2_LIBS and link collect2 against its contents. * build-make: Get rid of HOST_CLIB. * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix, config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3, config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony, config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-rs6000: Delete. * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris: Don't set CLIB. 24 x-host fragments remain, 0 x-cpu, 3 top level. 2001-05-01 Zack Weinberg <zackw@stanford.edu> * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41732 138bc75d-0d04-0410-961f-82ee72b054a4
* * 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