Commit Graph

18 Commits

Author SHA1 Message Date
DJ Delorie cc52927424 merge from gcc 2003-02-22 17:08:34 +00:00
DJ Delorie 192cbe66da merge from gcc 2003-02-21 22:12:51 +00:00
DJ Delorie 900d2082a9 merge from gcc 2003-02-21 17:33:57 +00:00
DJ Delorie 4938384a1f merge from gcc 2003-02-21 01:35:29 +00:00
Daniel Jacobowitz ba61a41253 * 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.
2003-02-20 22:14:18 +00:00
DJ Delorie 073c427b16 merge from gcc 2003-02-13 02:10:04 +00:00
DJ Delorie 24acd898d2 merge from gcc 2001-11-28 02:11:49 +00:00
DJ Delorie 5527febf4d merge from gcc 2001-11-26 21:23:10 +00:00
DJ Delorie dc5790516e merge from gcc 2001-11-15 19:06:06 +00:00
DJ Delorie 30673bf511 merge from gcc 2001-03-06 18:27:14 +00:00
DJ Delorie c6da642e79 * bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
2000-12-26 22:19:44 +00:00
DJ Delorie 92655e1933 * 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.
2000-11-29 20:07:08 +00:00
Jeff Law 62df206565 * configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check.
        * configure, config.in: Regenerate.
        * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2000-07-23 19:20:18 +00:00
Jeff Law 7d3ffcaf85 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
	* configure, config.in: Regenerate.
	* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2000-07-23 16:05:33 +00:00
H.J. Lu eb383413c2 Synced with libiberty in the gcc repository. 2000-06-15 20:56:25 +00:00
Ian Lance Taylor 0c0a36a403 merge with libiberty from egcs 2000-02-22 2000-02-22 16:14:35 +00:00
Ian Lance Taylor c1687039eb Revert last patch to xmalloc.c, and instead bring over this patch from
egcs:
Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* configure.in (checkfuncs): Check for sbrk.
	* config.in: Rebuilt.
	* configure: Likewise.
	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1999-08-05 21:15:29 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00