summaryrefslogtreecommitdiff
path: root/libiberty/configure
Commit message (Collapse)AuthorAgeFilesLines
* 2003-08-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>dj2003-09-021-27/+44
| | | | | | | | | PR bootstrap/12100 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71009 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Include acx.m4 and no-executables.m4.drow2003-08-271-2017/+5898
| | | | | | | | | | | | | (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ. (LIB_AC_PROG_CC): Remove. * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES. Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if performing link tests. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70860 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add check for malloc.h needed bydj2003-06-191-9/+22
| | | | | | | | | | | m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68213 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/10974ghazi2003-06-091-56/+80
| | | | | | | | | | | * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67649 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty/jason2003-05-071-85/+221
| | | | | | | | | | | | | * hashtab.c (burtle_hash): New fn. * configure.in: Add AC_C_BIGENDIAN_CROSS. * aclocal.m4: Include accross.m4. * configure, config.in: Regenerate. include/ * hashtab.h (burtle_hash): Prototype. (burtle_hash_object): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66565 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.ghazi2003-05-041-495/+63
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66467 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf andghazi2003-04-161-79/+81
| | | | | | | | | | | | | vsnprintf. * snprintf.c, vsnprintf.c: New files. * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c. (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65704 138bc75d-0d04-0410-961f-82ee72b054a4
* * mempcpy.c, stpcpy.c, stpncpy.c: New files.ghazi2003-04-161-80/+83
| | | | | | | | | | | | | * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy and stpncpy. * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c. (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65674 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_UINTPTR_T): Always define.ghazi2003-04-141-85/+84
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65574 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/systemcfg.h andghazi2003-02-221-53/+57
| | | | | | | | | _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63287 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysctl.h and sysctl.ghazi2003-02-221-3/+3
| | | | | | | | * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63285 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo onro2003-02-211-80/+81
| | | | | | | | | | | | | | Tru64 UNIX. (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on Tru64 UNIX. * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, machine/hal_sysinfo.h, sys/table.h. (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63241 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysmp.h and sysmp.ghazi2003-02-211-3/+3
| | | | | | | | | * physmem.c: Pull upstream copy, add support for irix6. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63237 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total, physmem_available): De-ANSI-fy.ghazi2003-02-211-52/+107
| | | | | | | | * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and pstat_getdynamic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63203 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2003-02-211-2/+2
| | | | | | | | | | | | | | | | * libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63198 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CFILES): Add lrealpath.c.drow2003-02-201-86/+177
| | | | | | | | | | | | | | | | | | (REQUIRED_OFILES): Add lrealpath.o. (lrealpath.o): Add rule. * aclocal.m4 (libiberty_NEED_DECLARATION): Add. * configure.in: Add realpath and canonicalize_file_name to checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION for canonicalize_file_name. * lrealpath.c: New file. * make-relative-prefix.c: Update documentation. (make_relative_prefix): Simplify. Use lbasename and lrealpath. * config.in: Regenerated. * configure: Regenerated. * functions.texi: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63186 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS toaoliva2003-02-201-0/+1
| | | | | | | | config.status. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63159 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (libiberty_topdir): New subst.dj2003-01-301-127/+129
| | | | | | | | | (mkinstalldirs): Redefine in terms of the above. * configure.in: AC_SUBST it. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62155 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Remove special pex-cygwin consideration.dj2003-01-241-17/+29
| | | | | | | | | * configure: Regenerate. * pex-cygwin.c: Remove. * Makefile.in: Remove pex-cygwin.[co] lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61744 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CFILES): Add pex-*.c.zack2003-01-241-30/+29
| | | | | | | | | | | | | | | | | | | | | | | (REQUIRED_OFILES): Change pexecute.o to @pexecute@ (CONFIGURED_OFILES): Add pex-*.o. (TEXIFILES): Add pexecute.txh. (pexecute.o): Delete rule. (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o, pex-unix.o, pex-win32.o): New rules. * configure.in: Change AC_INIT argument to xmalloc.c. Compute appropriate pexecute implementation and substitute it as @pexecute@. * pexecute.c: Split up into... * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c, pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these new files. * functions.texi: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61728 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty/configure: Reverted unintended yesterday's check in.aoliva2002-08-151-147/+149
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56361 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm-gc/configure, libf2c/configure: Rebuilt.aoliva2002-08-141-149/+147
| | | | | | | | | | | | | | | | | | | * libffi/configure, libiberty/configure: Ditto. * libjava/configure, libobjc/configure: Ditto. * libstdc++-v3/configure, zlib/configure: Ditto. Merged from binutils: 2002-01-27 Daniel Jacobowitz <drow@mvista.com> From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56270 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-30 Douglas Rupp <rupp@gnat.com>rupp2002-07-011-140/+205
| | | | | | | | * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. * Makefile.in (OUTPUT_OPTION): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55127 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix typo in the code checking for sys_errlist.dj2002-05-221-1/+1
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53747 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD ataoliva2002-05-081-142/+147
| | | | | | | | script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_TYPE_PID_T): Use it.mmitchel2002-05-071-107/+121
| | | | | | | | | * configure: Regenerated. * getruntime.c: Include <sys/types.h>. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53264 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-26 H.J. Lu (hjl@gnu.org)hjl2002-03-261-19/+20
| | | | | | | | | * config.table: Support --with-build-subdir. * configure.in: Likewise. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51416 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-04 Phil Edwards <pme@gcc.gnu.org>pme2002-03-041-142/+169
| | | | | | | | | | * configure.in: Add --enable-install-libiberty option. * Makefile.in (INSTALLED_HEADERS): New variable. (install_to_libdir): Possibly also copy headers. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50288 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/libiberty/configure.in: Treat mingw the same as cywindj2002-01-311-1/+1
| | | | | | | wrt HAVE_SYS_ERRLIST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49371 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (variable detection): Use arrays of unspecifiedrth2002-01-221-1/+1
| | | | | | | size instead of plain integers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49103 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (TESTLIB): New. This library is for futuredj2002-01-221-22/+91
| | | | | | | | | | | | | | | | | | | | | testsuites. (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, break down by letter. (REQUIRED_OFILES): List long-to-compile files first. (maint-deps): New, target for updating dependencies. (dependencies): Update. * maint-tool: Add dependency-generating option. * configure.in: Check for _doprnt even if we're not providing it. * configure: Regenerate. * _doprnt.c: Modifications to allow compiling on any platform. * copysign.c: Likewise. * putenv.c: Likewise. * setenv.c: Likewise. * vsprintf.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49090 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.dj2001-12-311-1/+4
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48436 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (uintptr_t): Use AC_CHECK_TYPE.kenner2001-12-241-183/+196
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48306 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/configure.in: Hardcode that vfork works on VMS host.kenner2001-12-111-54/+61
| | | | | | | | | * gcc/configure: Regenerated. * libiberty/configure.in: Hardcode that vfork works on VMS host. * libiberty/configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47869 138bc75d-0d04-0410-961f-82ee72b054a4
* top level:zack2001-11-281-36/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-27 DJ Delorie <dj@redhat.com> Zack Weinberg <zack@codesourcery.com> When build != host, create libiberty for the build machine. * Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace CONFIG_ARGUMENTS. (ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR): New variables. (ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables and rules. (all.normal): Depend on ALL_BUILD_MODULES. (CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS. (all-build-libiberty): Depend on configure-build-libiberty. * configure: Calculate and substitute proper value for ALL_BUILD_MODULES. * configure.in: Create the build subdirectory. Calculate and substitute TARGET_CONFIGARGS (formerly CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new). libiberty: 2001-11-27 Zack Weinberg <zack@codesourcery.com> * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build in libiberty context. Fix typo in leading comment. * configure.in: Fix various AC_DEFINEs so autoheader works. If any of vprintf, vsprintf, vfprintf is missing from libc, then AC_REPLACE_FUNCS(_doprnt). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47393 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for alloca.h (for regex.c and putenv.c).dj2001-11-261-1/+1
| | | | | | | | * configure: Regenerate. * config.h: Add HAVE_ALLOCA_H. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47352 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.in (HAVE_UINTPTR_T): Provide autoconf stub.law2001-11-151-76/+118
| | | | | | | | | | * configure.in (HAVE_UINTPTR_T): Test for system defining uintptr_t and define HAVE_UINTPTR_T appropriately. * regex.c (uintptr_t): Do not provide a definition if the system provided one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47068 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Cope with missing makeinfo.amodra2001-11-041-117/+122
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46767 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.dj2001-09-291-123/+124
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45881 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (MAKEINFO, PERL): Detect these.dj2001-09-261-109/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | (--enable-maintainer-mode): Add. * configure: Regenerate. * Makefile.in (MAKEINFO, PERL): Define. (libiberty.info, libiberty.dvi, libiberty.html): New. (CFILES): Add bsearch.c. (CONFIGURED_OFILES): New, list of objects configure might add. (maint-missing, maint-buildall): New, for maintainers only. (clean, mostlyclean): Add info/dvi/html files. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. * gather-docs: New, for maintainers. * maint-tool: New, for maintainers. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45828 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hostingcgf2001-08-211-60/+64
| | | | | | | | on cygwin. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45081 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.cgf2001-08-171-72/+81
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44979 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add ffs.c dependency.dj2001-07-051-1/+2
| | | | | | | | * configure.in: Add ffs.c. * ffs.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43784 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty:zack2001-03-061-182/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * bsearch.c: New file.dj2000-12-261-98/+96
| | | | | | | | | * configure.in (funcs): Add bsearch. (AC_CHECK_FUNCS): Likewise. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38492 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:zack2000-11-221-150/+247
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.in, config.gcc, configure.in: Expunge remaining traces of facility for running MD files through C preprocessor. libiberty: * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in. (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three argument form of AC_DEFINE in dummy definitions block. Use AC_DEFINE_NOAUTOHEADER for real definitions of things defined in dummy block. Preload cache variables instead of bypassing tests, where possible. * acconfig.h: Removed. * xmalloc.c (xmalloc_failed): New function, does error reporting on failed allocation. (xmalloc, xcalloc, xrealloc): Use it. * libiberty.h: Move #includes to top. Prototype xmalloc_failed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37650 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (Cygwin): special case cygwin only when we'redj2000-09-051-4/+9
| | | | | | | building cygwin, not when we're hosting cygwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36164 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_HEADERS): Add time.h.law2000-07-231-82/+117
| | | | | | | | | (AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35212 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_HEADERS): Add limits.h.law2000-07-231-1/+1
| | | | | | | | | | | * configure, config.in: Regenerate. * sort.c: Portably #include <limits.h> and/or <sys/param.h>. * strtol.c, strtoul.c: #include "config.h". Portably #include <limits.h> and/or <sys/param.h>. * Makefile.in (strtol.o, strtoul.o): Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35211 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.law2000-07-231-78/+112
| | | | | | | | | * configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35199 138bc75d-0d04-0410-961f-82ee72b054a4