aboutsummaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
AgeCommit message (Collapse)AuthorFilesLines
2000-07-11aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems with ↵J. David Anglin1-5/+17
MAP_ANONYMOUS and MAP_ANON. * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems with MAP_ANONYMOUS and MAP_ANON. * configure, config.in: Rebuilt. From-SVN: r34977
2000-06-26aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt ↵Philipp Thomas1-8/+5
without path instead. 2000-06-26 Philipp Thomas <pthomas@suse.de> * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead. * configure: Rebuilt. From-SVN: r34704
2000-06-25aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found.Philipp Thomas1-3/+18
* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found. AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no. * configure: Rebuilt. From-SVN: r34692
2000-06-24aclocal.m4 (AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs ↵Philipp Thomas1-7/+11
specified in ALL_LINGUAS. 2000-06-24 Philipp Thomas <pthomas@suse.de> * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs specified in ALL_LINGUAS. * configure: Rebuilt. From-SVN: r34674
2000-06-06configure.in (AC_C_INLINE): Added.Philipp Thomas1-1/+1
* configure.in (AC_C_INLINE): Added. * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default. * configure: Regenerate. From-SVN: r34440
2000-05-31configure.in (enable-nls): Enable if build == host, i.e.Philipp Thomas1-3/+3
gcc: * 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. From-SVN: r34303
2000-05-23getopt.h (getopt): Also check HAVE_DECL_* when prototyping.Kaveh R. Ghazi1-20/+23
include: * 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. From-SVN: r34108
2000-05-02aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.Zack Weinberg1-0/+25
* aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro. * 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. From-SVN: r33614
2000-04-26aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires INCLUDES to ↵Kaveh R. Ghazi1-42/+27
search and does not provide any of its own. * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires 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. From-SVN: r33428
2000-04-24aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of ↵Kaveh R. Ghazi1-4/+4
AC_DEFINE. * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR, 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. From-SVN: r33389
2000-04-24aclocal.m4: (GCC_HEADER_STRING...Kaveh R. Ghazi1-14/+14
* aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION, 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. From-SVN: r33383
2000-04-17aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).Zack Weinberg1-1/+52
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]). (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. From-SVN: r33212
2000-01-16Oops, a reference to mmap_zero remainedAlexandre Oliva1-1/+1
From-SVN: r31445
2000-01-16aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.Alexandre Oliva1-0/+82
* aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro. * 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. From-SVN: r31444
2000-01-12configure.in (i?86-*-beos{pe,elf,}*): Recognize.Jason Merrill1-0/+4
* configure.in (i?86-*-beos{pe,elf,}*): Recognize. * 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. From-SVN: r31366
1999-09-15aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.Kaveh R. Ghazi1-0/+19
* aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro. * 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. From-SVN: r29432
1999-04-14aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.Mumit Khan1-0/+21
* aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define. * configure.in: Use. * configure: Rebuilt. * acconfig.h (MKDIR_TAKES_ONE_ARG): Add. * config.in: Rebuilt. * system.h: Use. From-SVN: r26469
1999-01-26Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog forJeffrey A Law1-0/+401
details. From-SVN: r24879
1998-09-03aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include ↵Kaveh R. Ghazi1-5/+21
both string.h and strings.h together. * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is 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. From-SVN: r22204
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi1-1/+1
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF 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. From-SVN: r20953
1998-06-30Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...Kaveh R. Ghazi1-2/+5
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary 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. From-SVN: r20831
1998-05-09acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.Jeff Law1-0/+10
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf. * 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. From-SVN: r19653
1998-05-07Handle missing vfprintf() & _doprnt() functions with linked in modules,Kaveh R. Ghazi1-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. From-SVN: r19610
1998-02-07aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for ↵Kaveh R. Ghazi1-0/+21
whether they support the %p format... * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf 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. From-SVN: r17760
1998-01-31aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable ↵Kaveh R. Ghazi1-3/+13
argument instead of only hard coded... * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a 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. From-SVN: r17563
1997-12-06Merge from gcc-2.8Jeff Law1-0/+6
From-SVN: r16987
1997-11-02aclocal.m4 (conftestdata_from, [...]): Names shortened to 14 char length.Manfred Hollstein1-10/+10
* aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to 14 char length. * configure: Rebuild. From-SVN: r16298
1997-10-07aclocal.m4: Substitute INSTALL.Manfred Hollstein1-0/+1
* aclocal.m4: Substitute INSTALL. * configure: Re-built. From-SVN: r15868
1997-09-15aclocal.m4: New file with replacement for AC_PROG_INSTALL.Jeffrey A Law1-0/+63
* aclocal.m4: New file with replacement for AC_PROG_INSTALL. * configure.in: Use EGCS_PROG_INSTALL. From-SVN: r15471
1997-09-11Add Fred Fish's LN/LN_S patch.Jim Wilson1-0/+64
From-SVN: r15415
1997-07-19Initial revisionDoug Evans1-0/+27
From-SVN: r14486