DJ Delorie
a4e5c0d804
merge from gcc
2005-07-22 03:16:33 +00:00
DJ Delorie
7edb1832f2
merge from gcc
2005-07-22 03:00:51 +00:00
Ben Elliston
e865f979ac
* configure.ac: Check for a getopt(3) declaration.
...
* configure, config.in: Regenerate.
2005-07-22 02:10:56 +00:00
Kelley Cook
4cf896a535
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
...
* config.table: Delete file. Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.
2005-07-07 02:21:57 +00:00
Geoffrey Keating
67f3cb056f
Index: include/ChangeLog
...
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* libiberty.h (strverscmp): Prototype.
Index: libiberty/ChangeLog
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.
2005-06-21 00:28:25 +00:00
DJ Delorie
01e94249b6
merge from gcc
2005-05-28 19:49:24 +00:00
DJ Delorie
abf6a75b42
merge from gcc
2005-05-24 21:01:33 +00:00
DJ Delorie
0093138c53
merge from gcc
2005-05-07 02:00:41 +00:00
DJ Delorie
fa99459db0
merge from gcc
2005-04-16 01:05:05 +00:00
DJ Delorie
41c953f989
merge from gcc
2005-04-12 15:04:41 +00:00
DJ Delorie
ac119ae83b
merge from gcc
2005-04-11 19:32:04 +00:00
DJ Delorie
aa55ccb120
merge from gcc
2005-04-02 20:20:01 +00:00
Ian Lance Taylor
b109e79adc
libiberty:
...
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
2005-03-29 02:15:24 +00:00
DJ Delorie
49b1fae430
merge from gcc
2005-03-28 02:09:01 +00:00
DJ Delorie
0fad4bdb8e
merge from gcc
2005-03-25 04:57:08 +00:00
Ian Lance Taylor
27ff88367a
* pex-os2.c: Remove.
...
* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
* Makefile.in (CFILES): Remove pex-os2.c.
(CONFIGURED_OFILES): Remove pex-os2.o.
(pex-os2.o): Remove target.
* configure: Rebuild.
2005-03-09 21:28:10 +00:00
DJ Delorie
65dce80e6f
merge from gcc
2005-03-06 18:48:16 +00:00
DJ Delorie
46a100497f
merge from gcc
2004-12-27 21:39:28 +00:00
DJ Delorie
11a338da34
merge from gcc
2004-12-20 04:20:34 +00:00
DJ Delorie
1a20add74a
merge from gcc
2004-12-18 17:19:27 +00:00
H.J. Lu
96e00b336a
2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".
* aclocal.m4: Include ../libtool.m4.
* config.table: Don't check --enable-shared.
* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.
* maint-tool: Updated for .lo/libtool.
2004-12-18 16:46:03 +00:00
DJ Delorie
40a59a4c46
merge from gcc
2004-12-10 22:04:41 +00:00
Paolo Bonzini
c7efc4d538
2004-09-03 Paolo Bonzini <bonzini@gnu.org>
...
* configure: Regenerate.
2004-09-03 06:53:15 +00:00
DJ Delorie
7e9f5c71b4
merge from gcc
2004-04-26 18:23:59 +00:00
DJ Delorie
bb6a587dd3
merge from gcc
2004-04-22 18:39:03 +00:00
DJ Delorie
85f969cd0f
merge from gcc
2004-03-10 00:01:28 +00:00
DJ Delorie
58670637de
merge from gcc
2004-03-09 05:31:00 +00:00
DJ Delorie
cbf0ee7967
merge from gcc
2004-01-26 12:52:10 +00:00
H.J. Lu
b7ca9213c7
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
...
* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.
2003-10-01 17:12:11 +00:00
Daniel Jacobowitz
8ddbb5935d
* configure.in: Use AC_PROG_CPP_WERROR.
...
* configure: Regenerated.
2003-09-25 14:26:41 +00:00
DJ Delorie
60b04ee881
merge from gcc
2003-09-03 00:03:18 +00:00
Daniel Jacobowitz
2299a76d2f
* 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.
2003-08-27 21:15:13 +00:00
DJ Delorie
5f73c3782d
merge from gcc
2003-06-19 20:05:36 +00:00
DJ Delorie
e69f6c8c79
merge from gcc
2003-06-13 01:50:48 +00:00
Jason Merrill
7108c5dc79
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.
2003-05-07 18:07:53 +00:00
DJ Delorie
0b55517356
merge from gcc
2003-05-04 23:05:58 +00:00
DJ Delorie
2ed1e5cc55
merge from gcc
2003-04-16 23:09:21 +00:00
DJ Delorie
10b57b38b3
merge from gcc
2003-04-16 03:51:54 +00:00
DJ Delorie
daf7c4ad3a
merge from gcc
2003-04-14 18:27:58 +00:00
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
Alexandre Oliva
8b90eef446
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
...
config.status.
* configure: Rebuilt.
2003-02-20 09:08:42 +00:00
DJ Delorie
85b9a93839
merge from gcc
2003-01-30 20:00:42 +00:00
DJ Delorie
9c2259b8d5
merge from gcc
2003-01-25 00:23:30 +00:00
DJ Delorie
5a17353c6b
merge from gcc
2003-01-24 21:31:35 +00:00
DJ Delorie
b39b76b8b5
merge from gcc
2002-07-01 18:02:30 +00:00
DJ Delorie
1889369086
merge from gcc
2002-06-06 12:55:24 +00:00
DJ Delorie
52d98c2de8
merge from gcc
2002-05-08 14:22:36 +00:00
DJ Delorie
cafa39179f
merge from gcc
2002-05-07 19:04:21 +00:00
DJ Delorie
cfed07154c
merge from gcc
2002-03-26 23:29:30 +00:00
DJ Delorie
50d4562d6e
merge from gcc
2002-03-04 22:01:27 +00:00
DJ Delorie
bef8b55d39
merge from gcc
2002-01-31 19:01:15 +00:00
Richard Henderson
58b1717a5e
* configure.in (variable detection): Use arrays of unspecified
...
size instead of plain integers.
2002-01-22 22:32:35 +00:00
DJ Delorie
cc096b7166
merge from gcc
2002-01-22 20:14:53 +00:00
DJ Delorie
f348a7b160
merge from gcc
2002-01-01 01:03:22 +00:00
DJ Delorie
15ae9e7145
merge from gcc
2001-12-24 19:13:07 +00:00
DJ Delorie
c0eb281b9d
merge from gcc
2001-12-11 14:46:51 +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
1a78a35acf
merge from gcc
2001-11-13 03:54:15 +00:00
DJ Delorie
da191b5b76
merge from gcc
2001-09-29 16:55:59 +00:00
DJ Delorie
3942352316
merge from gcc
2001-09-26 18:45:50 +00:00
DJ Delorie
f01b59ed06
merge from gcc
2001-08-22 02:12:15 +00:00
DJ Delorie
68a41de77d
merge from gcc
2001-08-17 21:14:20 +00:00
DJ Delorie
7b78baae9b
merge from gcc
2001-07-05 17:29:17 +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
DJ Delorie
64e3a6598a
* configure.in (Cygwin): special case cygwin only when we're
...
building cygwin, not when we're hosting cygwin.
2000-09-05 18:44:54 +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
DJ Delorie
9cc28cc8a9
* Makefile.in: add EXTRA_INCS
...
* configure.in: if with-newlib, point to it for includes
rather than using the installed includes, for target builds.
If cygwin, override function list only for target builds.
* configure: regenerate
Note from DJ: I waited a week for gcc approval and got none, but
we need this patch for cygwin builds *now*. I'll fix it later if
need be.
2000-06-06 17:52:20 +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
33fbbfbc00
* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
...
* getruntime.c: Only attempt to include sys/resource.h and
use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
are defined.
1999-05-06 20:59:17 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00