aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
AgeCommit message (Collapse)AuthorFilesLines
2004-04-26configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.Maciej W. Rozycki1-41/+72
* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition. * configure: Regenerate. From-SVN: r81191
2004-04-22hashtab.c: Include limits.h, stdint.h, ansidecl.h.Richard Henderson1-65/+202
* hashtab.c: Include limits.h, stdint.h, ansidecl.h. (CHAR_BIT): Provide default. (struct prime_ent, prime_tab): New. (higher_prime_index): Rename from higher_prime_number, return index. (htab_mod_1): New. (htab_mod, htab_mod_m2): Use it. (htab_create_alloc, htab_create_alloc_ex): Store prime index. (htab_expand): Likewise. * configure.ac: Check for stdint.h. (UNSIGNED_64BIT_TYPE): New define and checks to fill it in. * config.in, configure: Rebuild. From-SVN: r81029
2004-03-09configure.ac: Bump version to 2.59.Kelley Cook1-49/+58
2004-03-09 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump version to 2.59. Apply suggested autoupdates. * acconfig.h: Delete redundant file. * config.in: Regenerate. * configure: Regenerate. From-SVN: r79204
2004-03-09* configure: Regenerate for config/accross.m4 correction.Hans-Peter Nilsson1-369/+908
From-SVN: r79147
2004-01-26configure.ac: Add m4_pattern_allow(LIBOBJS).Ian Lance Taylor1-5/+15
* configure.ac: Add m4_pattern_allow(LIBOBJS). * configure: Regenerate. From-SVN: r76619
2003-10-01configure.in: Check if $MAKEINFO is missing.H.J. Lu1-14/+26
2003-10-01 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Check if $MAKEINFO is missing. * configure: Regenerated. From-SVN: r71983
2003-09-25configure.in: Use AC_PROG_CPP_WERROR.Daniel Jacobowitz1-679/+418
* configure.in: Use AC_PROG_CPP_WERROR. * configure: Regenerated. From-SVN: r71775
2003-09-02re PR bootstrap/12100 (time.h:402: error: previous declaration of ↵John David Anglin1-27/+44
`clock'evious declaration of `clock') 2003-08-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR bootstrap/12100 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. * configure: Rebuilt. From-SVN: r71009
2003-08-27aclocal.m4: Include acx.m4 and no-executables.m4.Daniel Jacobowitz1-2017/+5898
* aclocal.m4: Include acx.m4 and no-executables.m4. (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. From-SVN: r70860
2003-06-19configure.in: Add check for malloc.h needed by m68k for function free().Dara Hazeghi1-9/+22
* configure.in: Add check for malloc.h needed by m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). From-SVN: r68213
2003-06-09re PR bootstrap/10974 (Bootstrap failure)Albert Chin-A-Young1-56/+80
PR bootstrap/10974 * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. From-SVN: r67649
2003-05-07hashtab.c (burtle_hash): New fn.Jason Merrill1-85/+221
libiberty/ * 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. From-SVN: r66565
2003-05-04configure.in (AC_CHECK_FUNCS): Don't make multiple calls.Kaveh R. Ghazi1-495/+63
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls. * configure: Regenerate. From-SVN: r66467
2003-04-16configure.in (funcs, [...]): Add snprintf and vsnprintf.Kaveh R. Ghazi1-79/+81
* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and 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. From-SVN: r65704
2003-04-16mempcpy.c, [...]: New files.Kaveh R. Ghazi1-80/+83
* mempcpy.c, stpcpy.c, stpncpy.c: New files. * 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. From-SVN: r65674
2003-04-14configure.in (HAVE_UINTPTR_T): Always define.Kaveh R. Ghazi1-85/+84
* configure.in (HAVE_UINTPTR_T): Always define. * configure: Regenerated. From-SVN: r65574
2003-02-22configure.in: Check for sys/systemcfg.h and _system_configuration.Kaveh R. Ghazi1-53/+57
* configure.in: Check for sys/systemcfg.h and _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. From-SVN: r63287
2003-02-22configure.in: Check for sys/sysctl.h and sysctl.Kaveh R. Ghazi1-3/+3
* configure.in: Check for sys/sysctl.h and sysctl. * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. Co-Authored-By: Geoffrey Keating <geoffk@apple.com> Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r63285
2003-02-21physmem.c (physmem_total): Use getsysinfo on Tru64 UNIX.Rainer Orth1-80/+81
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on 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. From-SVN: r63241
2003-02-21configure.in: Check for sys/sysmp.h and sysmp.Kaveh R. Ghazi1-3/+3
* configure.in: Check for sys/sysmp.h and sysmp. * physmem.c: Pull upstream copy, add support for irix6. * config.in, configure: Regenerated. From-SVN: r63237
2003-02-21physmem.c (physmem_total, [...]): De-ANSI-fy.Kaveh R. Ghazi1-52/+107
* physmem.c (physmem_total, physmem_available): De-ANSI-fy. * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and pstat_getdynamic. From-SVN: r63203
2003-02-21libiberty.h (physmem_total, [...]): Prototype.Kaveh R. Ghazi1-2/+2
include: * 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. From-SVN: r63198
2003-02-20Makefile.in (CFILES): Add lrealpath.c.Daniel Jacobowitz1-86/+177
* Makefile.in (CFILES): Add lrealpath.c. (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. From-SVN: r63186
2003-02-20configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.Alexandre Oliva1-0/+1
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. * configure: Rebuilt. From-SVN: r63159
2003-01-30Makefile.in (libiberty_topdir): New subst.Christian Cornelssen1-127/+129
* Makefile.in (libiberty_topdir): New subst. (mkinstalldirs): Redefine in terms of the above. * configure.in: AC_SUBST it. * configure: Regenerate. From-SVN: r62155
2003-01-24configure.in: Remove special pex-cygwin consideration.Christopher Faylor1-17/+29
* configure.in: Remove special pex-cygwin consideration. * configure: Regenerate. * pex-cygwin.c: Remove. * Makefile.in: Remove pex-cygwin.[co] lines. From-SVN: r61744
2003-01-24Makefile.in (CFILES): Add pex-*.c.Zack Weinberg1-30/+29
* Makefile.in (CFILES): Add pex-*.c. (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. From-SVN: r61728
2002-08-15* libiberty/configure: Reverted unintended yesterday's check in.Alexandre Oliva1-147/+149
From-SVN: r56361
2002-08-14configure, configure: Rebuilt.Alexandre Oliva1-149/+147
* boehm-gc/configure, libf2c/configure: Rebuilt. * 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. From-SVN: r56270
2002-07-01configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.Douglas B Rupp1-140/+205
2002-06-30 Douglas Rupp <rupp@gnat.com> * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. * Makefile.in (OUTPUT_OPTION): Use. From-SVN: r55127
2002-05-22configure.in: Fix typo in the code checking for sys_errlist.Roman Lechtchinsky1-1/+1
* configure.in: Fix typo in the code checking for sys_errlist. * configure: Regenerated. From-SVN: r53747
2002-05-08configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and ↵Alexandre Oliva1-142/+147
set LD to it when configuring multilibs. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. From-SVN: r53278
2002-05-07configure.in (AC_TYPE_PID_T): Use it.Mark Mitchell1-107/+121
* configure.in (AC_TYPE_PID_T): Use it. * configure: Regenerated. * getruntime.c: Include <sys/types.h>. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". From-SVN: r53264
2002-03-26config.table: Support --with-build-subdir.H.J. Lu1-19/+20
2002-03-26 H.J. Lu (hjl@gnu.org) * config.table: Support --with-build-subdir. * configure.in: Likewise. * configure: Rebuild. From-SVN: r51416
2002-03-04configure.in: Add --enable-install-libiberty option.Phil Edwards1-142/+169
2002-03-04 Phil Edwards <pme@gcc.gnu.org> * configure.in: Add --enable-install-libiberty option. * Makefile.in (INSTALLED_HEADERS): New variable. (install_to_libdir): Possibly also copy headers. * configure: Regenerated. From-SVN: r50288
2002-01-31configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.Adam Megacz1-1/+1
* gcc/libiberty/configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST. From-SVN: r49371
2002-01-22configure.in (variable detection): Use arrays of unspecified size instead of ↵Momchil Velikov1-1/+1
plain integers. * configure.in (variable detection): Use arrays of unspecified size instead of plain integers. From-SVN: r49103
2002-01-22Makefile.in (TESTLIB): New.DJ Delorie1-22/+91
* Makefile.in (TESTLIB): New. This library is for future 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. From-SVN: r49090
2001-12-31aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.Ira Ruben1-1/+4
* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try. * configure: Regenerated. From-SVN: r48436
2001-12-24configure.in (uintptr_t): Use AC_CHECK_TYPE.Douglas B Rupp1-183/+196
* configure.in (uintptr_t): Use AC_CHECK_TYPE. * configure: Regenerated. From-SVN: r48306
2001-12-11configure.in: Hardcode that vfork works on VMS host.Douglas B Rupp1-54/+61
* gcc/configure.in: Hardcode that vfork works on VMS host. * gcc/configure: Regenerated. * libiberty/configure.in: Hardcode that vfork works on VMS host. * libiberty/configure: Regenerated. From-SVN: r47869
2001-11-28top level:Zack Weinberg1-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). From-SVN: r47393
2001-11-26configure.in: Check for alloca.h (for regex.c and putenv.c).DJ Delorie1-1/+1
* configure.in: Check for alloca.h (for regex.c and putenv.c). * configure: Regenerate. * config.h: Add HAVE_ALLOCA_H. From-SVN: r47352
2001-11-15config.in (HAVE_UINTPTR_T): Provide autoconf stub.Jeffrey A Law1-76/+118
* config.in (HAVE_UINTPTR_T): Provide autoconf stub. * 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. From-SVN: r47068
2001-11-04* configure.in: Cope with missing makeinfo.Alan Modra1-117/+122
From-SVN: r46767
2001-09-29* configure: Regenerate.DJ Delorie1-123/+124
From-SVN: r45881
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie1-109/+219
* configure.in (MAKEINFO, PERL): Detect these. (--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. Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com> From-SVN: r45828
2001-08-21configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever ↵Christopher Faylor1-60/+64
hosting on cygwin. * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting on cygwin. * configure: Regenerate. From-SVN: r45081
2001-08-17configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.Christopher Faylor1-72/+81
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. * configure: Regenerate. From-SVN: r44979
2001-07-05Makefile.in: Add ffs.c dependency.Mark Klein1-1/+2
* Makefile.in: Add ffs.c dependency. * configure.in: Add ffs.c. * ffs.c: New file. From-SVN: r43784