Michael Sokolov
c6451ce1ed
configure.in (AC_CHECK_HEADERS): Add time.h.
...
* 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>.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35212
2000-07-23 13:18:32 -06:00
Michael Sokolov
cd44736010
configure.in (AC_CHECK_HEADERS): Add limits.h.
...
* configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure, config.in: Regenerate.
* sort.c: Portably #include <limits.h> and/or <sys/param.h>.
* strtol.c, strtoul.c: #include "config.h". Portably #include
<limits.h> and/or <sys/param.h>.
* Makefile.in (strtol.o, strtoul.o): Update dependencies.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35211
2000-07-23 13:13:46 -06:00
Michael Sokolov
3b58c09931
aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
...
* 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.
From-SVN: r35199
2000-07-23 10:05:03 -06:00
Kaveh R. Ghazi
69197e7e5e
configure.in (ac_libiberty_warn_cflags): Add -pedantic.
...
libiberty:
* configure.in (ac_libiberty_warn_cflags): Add -pedantic.
* choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
* cp-demangle.c (demangle_char): Change parameter from char to int.
(demangle_expression, demangle_expr_primary): Remove extra
semi-colon in prototype.
* dyn-string.c (dyn_string_append_char): Change parameter from
char to int.
* memcmp.c (memcmp): Constify.
* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
__extension__.
* partition.c (elem_compare): Prototype. Don't cast away
const-ness.
* setenv.c (setenv): Use braces to avoid ambiguous `else'.
include:
* demangle.h (demangling_styles): Remove trailing comma in enum.
* dyn-string.h (dyn_string_append_char): Change parameter from
char to int.
From-SVN: r34447
2000-06-07 21:13:14 +00:00
Kaveh R. Ghazi
a9266bfa4a
aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
...
* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
(libiberty_AC_FUNC_STRNCMP): Invoke.
* strncmp.c: New file.
From-SVN: r33498
2000-04-28 01:42:43 +00:00
Kaveh R. Ghazi
1eaf7d9c9b
configure.in (ac_libiberty_warn_cflags): Turn on warnings if we're using gcc.
...
* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
we're using gcc.
* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
From-SVN: r31205
2000-01-04 16:09:57 +00:00
Kaveh R. Ghazi
4ac3cb830a
Makefile.in (CFILES): Add calloc.c and getpwd.c.
...
* Makefile.in (CFILES): Add calloc.c and getpwd.c.
(REQUIRED_OFILES): Add getpwd.o.
(getpwd.o): Add target.
* configure.in (AC_PREREQ): Bump to 2.13.
(AC_CHECK_HEADERS): Add check for <sys/stat.h>.
* getpwd.c: New file, moved here from gcc.
From-SVN: r28996
1999-08-31 00:50:36 +00:00
Andreas Schwab
90e72e20a3
configure.in (checkfuncs): Add gettimeofday.
...
* configure.in (checkfuncs): Add gettimeofday.
* config.in, configure: Regenerated.
From-SVN: r27647
1999-06-20 23:01:18 -06:00
Mumit Khan
62133b5e6a
configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails.
...
p
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
the test fails.
* configure: Regenerate.
From-SVN: r27642
1999-06-20 22:56:40 -06:00
Jeff Law
9eb4080f6f
Makefile.in (CFILES): Add putenv.c and setenv.c.
...
* Makefile.in (CFILES): Add putenv.c and setenv.c.
* configure.in (funcs): Add putenv and setenv.
(AC_CHECK_FUNCS): Check for putenv and setenv.
* configure: Rebuilt.
* putenv.c setenv.c: New files.
[[Split portion of a mixed commit.]]
From-SVN: r27162.2
1999-05-25 21:13:18 -06:00
Fred Fish
6a071f4a74
Fred Fish <fnf@be.com>
...
Fred Fish <fnf@be.com>
* 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.
From-SVN: r26808
1999-05-06 13:57:01 -07:00
Donn Terry
7dd8861714
configure.in (alloca detection): Handle alloca directly for interix.
...
* configure.in (alloca detection): Handle alloca directly for interix.
* configure: Rebuilt.
From-SVN: r26635
1999-04-25 18:40:51 -06:00
Mumit Khan
acbbd80a54
configure.in (checkfuncs): Check for sbrk.
...
* configure.in (checkfuncs): Check for sbrk.
* config.in: Rebuilt.
* configure: Likewise.
* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
From-SVN: r26480
1999-04-15 16:05:35 -06:00
Tom Tromey
7c72138aa2
regress-demangle: New file.
...
* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.
From-SVN: r26205
1999-04-05 14:28:59 +00:00
Mumit Khan
89f602a793
pexecute.c (__CYGWIN32__): Rename to
...
* pexecute.c (__CYGWIN32__): Rename to
(__CYGWIN__): this.
* xmalloc.c: Likewise.
Changes to support i386-pc-uwin.
* configure.in (*-*-uwin*): Workaround for vfork bug.
* configure: Regenerate.
* pexecute.c (pexecute): Be like standard Unix.
(pwait): Likewise.
* xmalloc.c (first_break): Define.
(xmalloc_set_program_name): Use.
(xmalloc): Use.
From-SVN: r25694
1999-03-10 17:32:50 -07:00
Marc Espie
687361c834
Makefile.in (REQUIRED_OFILES): remove mkstemp.o
...
* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
* configure.in (funcs): Check for and conditionally add mkstemps to
the list of functions libiberty will provide.
* configure: Rebuilt.
From-SVN: r25106
1999-02-08 17:17:32 -07:00
Geoffrey Noer
dd8f3ed555
configure.in: detect cygwin* instead of cygwin32*
...
* configure.in: detect cygwin* instead of cygwin32*
* configure: regenerate
* configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
From-SVN: r23725
1998-11-19 14:16:49 -07:00
Kaveh R. Ghazi
a6458d1ddd
configure.in: Call AC_HEADER_SYS_WAIT.
...
* configure.in: Call AC_HEADER_SYS_WAIT.
* pexecute.c: Include sys/wait.h when !IN_GCC.
From-SVN: r23711
1998-11-19 10:05:03 +00:00
Kaveh R. Ghazi
a9acf74156
configure.in: Check for calloc.
...
* configure.in: Check for calloc.
* calloc.c: New file.
* xmalloc.c (xcalloc): New function.
From-SVN: r23642
1998-11-13 16:36:04 +00:00
Jeffrey A Law
ae76f1bedd
mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
...
* mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
* configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
* config.in, configure: Rebuilt.
From-SVN: r23067
1998-10-13 17:08:18 -06:00
Jeffrey A Law
73aeb2ff9b
getopt.c: Check HAVE_STRINGS_H before including strings.h.
...
* getopt.c: Check HAVE_STRINGS_H before including strings.h.
* configure.in (AC_CHECK_HEADERS): Check for strings.h too.
* config.in, configure: Rebuilt.
From-SVN: r23065
1998-10-13 16:59:40 -06:00
Jeff Law
ca6b370dc8
Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
...
* Merge egcs & devo libiberty.
From-SVN: r22941
1998-10-08 16:48:52 -06:00
Mumit Khan
6391b50a28
* configure.in (checkfuncs): Add missing "'".
...
From-SVN: r20144
1998-05-30 17:19:36 -06:00
Manfred Hollstein
b9256371fa
configure.in: Check for unistd.h as well.
...
0
* configure.in: Check for unistd.h as well.
* configure: Rebuild.
* config.in: Rebuild.
* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
is defined in unistd.h. Reformat conditional block for easier reading.
* config.table (shared): Default to no if ${enable_shared}
is unset or empty; this logic is used by the toplevel
configure scripts, too.
From-SVN: r19924
1998-05-21 07:52:41 +00:00
Jeff Law
0bc0cd11e7
Initial revision
...
From-SVN: r19799
1998-05-16 00:20:36 -06:00