Commit Graph

79 Commits

Author SHA1 Message Date
Maciej W. Rozycki 6489430a36 configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
	* configure: Regenerate.

From-SVN: r81191
2004-04-26 14:21:49 +00:00
Richard Henderson 9bf3c9cc6d hashtab.c: Include limits.h, stdint.h, ansidecl.h.
* 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-04-22 10:35:44 -07:00
Kelley Cook a4f74b5884 configure.ac: Bump version to 2.59.
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 23:02:47 +00:00
Hans-Peter Nilsson 3beb131556 * configure: Regenerate for config/accross.m4 correction.
From-SVN: r79147
2004-03-09 01:22:49 +00:00
Ian Lance Taylor 5254fd7b55 configure.ac: Add m4_pattern_allow(LIBOBJS).
* configure.ac: Add m4_pattern_allow(LIBOBJS).
	* configure: Regenerate.

From-SVN: r76619
2004-01-26 04:44:11 +00:00
H.J. Lu c0590bfdf1 configure.in: Check if $MAKEINFO is missing.
2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.in: Check if $MAKEINFO is missing.
	* configure: Regenerated.

From-SVN: r71983
2003-10-01 10:11:29 -07:00
Daniel Jacobowitz b033df9072 configure.in: Use AC_PROG_CPP_WERROR.
* configure.in: Use AC_PROG_CPP_WERROR.
	* configure: Regenerated.

From-SVN: r71775
2003-09-25 14:27:45 +00:00
John David Anglin 86d7590652 re PR bootstrap/12100 (time.h:402: error: previous declaration of `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-09-02 19:29:10 -04:00
Daniel Jacobowitz 238235effd aclocal.m4: Include acx.m4 and no-executables.m4.
* 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-08-27 21:14:28 +00:00
Dara Hazeghi cf8e4b7876 configure.in: Add check for malloc.h needed by m68k for function free().
* 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-19 15:04:03 -04:00
Albert Chin-A-Young aa9dc53d0d re PR bootstrap/10974 (Bootstrap failure)
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-06-09 05:20:02 +00:00
Jason Merrill 5cc5a0d00d hashtab.c (burtle_hash): New fn.
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-07 14:07:58 -04:00
Kaveh R. Ghazi 05c30f2224 configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
	* configure: Regenerate.

From-SVN: r66467
2003-05-04 22:14:18 +00:00
Kaveh R. Ghazi bd3fbc6b72 configure.in (funcs, [...]): Add snprintf and vsnprintf.
* 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-16 22:42:07 +00:00
Kaveh R. Ghazi 029bcc09d2 mempcpy.c, [...]: New files.
* 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-16 02:56:46 +00:00
Kaveh R. Ghazi 39e8d04986 configure.in (HAVE_UINTPTR_T): Always define.
* configure.in (HAVE_UINTPTR_T): Always define.
	* configure: Regenerated.

From-SVN: r65574
2003-04-14 14:29:14 +00:00
Kaveh R. Ghazi d47f75c469 configure.in: Check for sys/systemcfg.h and _system_configuration.
* 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-22 15:39:16 +00:00
Kaveh R. Ghazi 170230b723 configure.in: Check for sys/sysctl.h and sysctl.
* 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-22 15:17:36 +00:00
Rainer Orth 4a06f7f2ec physmem.c (physmem_total): Use getsysinfo on Tru64 UNIX.
* 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-21 20:33:50 +00:00
Kaveh R. Ghazi 64c7e556ab configure.in: Check for sys/sysmp.h and sysmp.
* 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-21 20:15:39 +00:00
Kaveh R. Ghazi e9019af616 physmem.c (physmem_total, [...]): De-ANSI-fy.
* 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-21 05:02:44 +00:00
Kaveh R. Ghazi a354191ebf libiberty.h (physmem_total, [...]): Prototype.
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-21 00:27:04 +00:00
Daniel Jacobowitz 4876b2b427 Makefile.in (CFILES): Add lrealpath.c.
* 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-20 22:11:13 +00:00
Alexandre Oliva 3343fdd21c configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.

From-SVN: r63159
2003-02-20 09:08:45 +00:00
Christian Cornelssen d8c22ce740 Makefile.in (libiberty_topdir): New subst.
* 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-30 14:02:12 -05:00
Christopher Faylor ece0e59fbc configure.in: Remove special pex-cygwin consideration.
* 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-24 18:23:18 -05:00
Zack Weinberg 55d0e5e022 Makefile.in (CFILES): Add pex-*.c.
* 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
2003-01-24 20:02:11 +00:00
Alexandre Oliva 8ea4b195de * libiberty/configure: Reverted unintended yesterday's check in.
From-SVN: r56361
2002-08-15 21:24:00 +00:00
Alexandre Oliva f5cc59a784 configure, configure: Rebuilt.
* 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-08-14 02:40:00 +00:00
Douglas B Rupp 7fda878c25 configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
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-07-01 05:38:50 +00:00
Roman Lechtchinsky 9f3dbd92d2 configure.in: Fix typo in the code checking for sys_errlist.
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

From-SVN: r53747
2002-05-22 16:57:15 -04:00
Alexandre Oliva 6706f1167e configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and 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-08 04:38:00 +00:00
Mark Mitchell deae2ed9a8 configure.in (AC_TYPE_PID_T): Use it.
* 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-05-07 18:50:53 +00:00
H.J. Lu cd862df851 config.table: Support --with-build-subdir.
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-26 14:56:51 -08:00
Phil Edwards 48d7db63ff configure.in: Add --enable-install-libiberty option.
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-03-04 21:41:06 +00:00
Adam Megacz 46af757b06 configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.
* gcc/libiberty/configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.

From-SVN: r49371
2002-01-31 13:19:39 -05:00
Momchil Velikov e64d0626b4 configure.in (variable detection): Use arrays of unspecified size instead of plain integers.
* configure.in (variable detection): Use arrays of unspecified
        size instead of plain integers.

From-SVN: r49103
2002-01-22 14:31:52 -08:00
DJ Delorie 9ce3f7e5d3 Makefile.in (TESTLIB): New.
* 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
2002-01-22 15:03:29 -05:00
Ira Ruben a4219437e2 aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
* configure: Regenerated.

From-SVN: r48436
2001-12-31 18:23:49 -05:00
Douglas B Rupp fdfc290b94 configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure.in (uintptr_t): Use AC_CHECK_TYPE.
	* configure: Regenerated.

From-SVN: r48306
2001-12-24 12:51:40 -05:00
Douglas B Rupp ee262b6f6a configure.in: Hardcode that vfork works on VMS host.
* 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-12-11 07:17:33 -05:00
Zack Weinberg e490616e33 top level:
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-28 01:37:24 +00:00
DJ Delorie c3bb7df00b configure.in: Check for alloca.h (for regex.c and putenv.c).
* 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-26 15:02:19 -05:00
Jeffrey A Law d3982b7128 config.in (HAVE_UINTPTR_T): Provide autoconf stub.
* 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-15 11:11:24 -07:00
Alan Modra f749bd83cb * configure.in: Cope with missing makeinfo.
From-SVN: r46767
2001-11-04 18:12:47 +10:30
DJ Delorie 0e30ffc5ef * configure: Regenerate.
From-SVN: r45881
2001-09-29 12:48:58 -04:00
DJ Delorie aaa5f039eb configure.in (MAKEINFO, PERL): Detect these.
* 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-09-26 14:16:17 -04:00
Christopher Faylor b1c45ae429 configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever 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-21 16:40:45 +00:00
Christopher Faylor 91625004b2 configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
* configure: Regenerate.

From-SVN: r44979
2001-08-17 20:17:23 +00:00
Mark Klein 29650b2b2f Makefile.in: Add ffs.c dependency.
* Makefile.in: Add ffs.c dependency.
* configure.in: Add ffs.c.
* ffs.c: New file.

From-SVN: r43784
2001-07-05 13:24:39 -04:00