Daniel Jacobowitz
8ddbb5935d
* configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.
23 years ago
DJ Delorie
60b04ee881
merge from gcc
23 years ago
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.
23 years ago
DJ Delorie
5f73c3782d
merge from gcc
23 years ago
DJ Delorie
e69f6c8c79
merge from gcc
24 years ago
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.
24 years ago
DJ Delorie
0b55517356
merge from gcc
24 years ago
DJ Delorie
2ed1e5cc55
merge from gcc
24 years ago
DJ Delorie
10b57b38b3
merge from gcc
24 years ago
DJ Delorie
daf7c4ad3a
merge from gcc
24 years ago
DJ Delorie
cc52927424
merge from gcc
24 years ago
DJ Delorie
192cbe66da
merge from gcc
24 years ago
DJ Delorie
900d2082a9
merge from gcc
24 years ago
DJ Delorie
4938384a1f
merge from gcc
24 years ago
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.
24 years ago
Alexandre Oliva
8b90eef446
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
24 years ago
DJ Delorie
85b9a93839
merge from gcc
24 years ago
DJ Delorie
9c2259b8d5
merge from gcc
24 years ago
DJ Delorie
5a17353c6b
merge from gcc
24 years ago
DJ Delorie
b39b76b8b5
merge from gcc
24 years ago
DJ Delorie
1889369086
merge from gcc
25 years ago
DJ Delorie
52d98c2de8
merge from gcc
25 years ago
DJ Delorie
cafa39179f
merge from gcc
25 years ago
DJ Delorie
cfed07154c
merge from gcc
25 years ago
DJ Delorie
50d4562d6e
merge from gcc
25 years ago
DJ Delorie
bef8b55d39
merge from gcc
25 years ago
Richard Henderson
58b1717a5e
* configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
25 years ago
DJ Delorie
cc096b7166
merge from gcc
25 years ago
DJ Delorie
f348a7b160
merge from gcc
25 years ago
DJ Delorie
15ae9e7145
merge from gcc
25 years ago
DJ Delorie
c0eb281b9d
merge from gcc
25 years ago
DJ Delorie
24acd898d2
merge from gcc
25 years ago
DJ Delorie
5527febf4d
merge from gcc
25 years ago
DJ Delorie
dc5790516e
merge from gcc
25 years ago
DJ Delorie
1a78a35acf
merge from gcc
25 years ago
DJ Delorie
da191b5b76
merge from gcc
25 years ago
DJ Delorie
3942352316
merge from gcc
25 years ago
DJ Delorie
f01b59ed06
merge from gcc
25 years ago
DJ Delorie
68a41de77d
merge from gcc
25 years ago
DJ Delorie
7b78baae9b
merge from gcc
25 years ago
DJ Delorie
30673bf511
merge from gcc
26 years ago
DJ Delorie
c6da642e79
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
26 years ago
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.
26 years ago
DJ Delorie
64e3a6598a
* configure.in (Cygwin): special case cygwin only when we're
building cygwin, not when we're hosting cygwin.
26 years ago
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>.
26 years ago
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.
26 years ago
H.J. Lu
eb383413c2
Synced with libiberty in the gcc repository.
27 years ago
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.
27 years ago
Ian Lance Taylor
0c0a36a403
merge with libiberty from egcs 2000-02-22
27 years ago
Ian Lance Taylor
e2eaf47799
import libiberty from egcs
27 years ago