Gabriel Dos Reis
3c60ae5ab5
asprintf.c: Include config.h.
...
* asprintf.c: Include config.h.
* basename.c: Likewise.
* fdmatch.c: Likewise.
* hex.c: Likewise.
* lbasename.c: Likewise.
* spaces.c: Likewise.
* xatexit.c:Likewise.
* configure.ac: Do check declarations for basename, ffs, asprintf
and vasprintf for real.
* configure: Regenerate.
From-SVN: r98218
2005-04-16 00:40:08 +00:00
Gabriel Dos Reis
1ff7682ce1
configure.ac: Check declarations for basename, ffs, asprintf, vasprintf.
...
* configure.ac: Check declarations for basename, ffs,
asprintf, vasprintf.
* configure: Regenerate.
* config.in: Likewise.
From-SVN: r98022
2005-04-12 14:23:48 +00:00
Kaveh R. Ghazi
78a7dc9032
libiberty.h (fopen_unlocked, [...]): Provide prototypes for new functions.
...
include:
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
Provide prototypes for new functions.
libiberty:
* Makefile.in (CFILES): Add fopen_unlocked.c.
(REQUIRED_OFILES): Add ./fopen_unlocked.o.
Regenerate dependencies.
* configure.ac: Check for stdio_ext.h and __fsetlocking.
* fopen_unlocked.c: New file.
* functions.texi, configure, config.in: Regenerate.
From-SVN: r97977
2005-04-11 17:49:47 +00:00
Kaveh R. Ghazi
f9a9ac80d6
configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings -Wstrict-prototypes.
...
* configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
-Wstrict-prototypes.
* configure, config.in: Regenerate.
* bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
warnings and reconcile interfaces with relevant standards.
From-SVN: r97456
2005-04-02 19:57:12 +00:00
Ian Lance Taylor
a584cf65fa
pex-common.c: New file.
...
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.
From-SVN: r97148
2005-03-29 02:08:46 +00:00
Andreas Jaeger
1134b11dcb
configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional flags.
...
* configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
flags.
* configure: Regenerated.
From-SVN: r97116
2005-03-27 21:27:31 +02:00
Kaveh R. Ghazi
17998b22b5
libiberty.h (xstrndup): Declare.
...
include:
* libiberty.h (xstrndup): Declare.
libiberty:
* Makefile.in (CFILES): Add strndup.c and xstrndup.c.
(REQUIRED_OFILES): Add xstrndup.o.
(CONFIGURED_OFILES): Add strndup.o.
Regenerate dependencies.
* configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
* strndup.c, xstrndup.c: New.
* config.in, configure, functions.texi: Regenerate.
From-SVN: r97034
2005-03-25 04:41:41 +00:00
Mark Mitchell
17049f0bbb
libiberty.h (gettimeofday): Declare.
...
* libiberty.h (gettimeofday): Declare.
* configure.ac (funcs): Add gettimeofday.
* configure: Regenerated.
* gettimeofday.c: New file.
* Makefile.in (CFILES): Add gettimeofday.
(CONFIGURED_OFILES): Add gettimeofday.o.
(./gettimeofday.o): New rule.
From-SVN: r96230
2005-03-10 00:57:10 +00:00
Ian Lance Taylor
6af8bd502d
pex-os2.c: Remove.
...
* 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.
From-SVN: r96211
2005-03-09 21:27:11 +00:00
DJ Delorie
b3df8be147
configure.ac (target_header_dir): vfork is a stub under djgpp.
...
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.
From-SVN: r95980
2005-03-06 12:41:16 -05:00
DJ Delorie
fe8ee922e3
configure.ac (target_header_dir): vfork is a stub under djgpp.
...
* configure.ac (target_header_dir): vfork is a stub under djgpp.
* configure: Regenerated.
From-SVN: r95979
2005-03-06 12:40:06 -05:00
H.J. Lu
24f2cabbff
Makefile.in: Undo to 2004-12-17.
...
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Undo to 2004-12-17.
* aclocal.m4: Likewise.
* config.table: Likewise.
* configure.ac: Likewise.
* maint-tool: Likewise.
* configure: Likewise.
From-SVN: r92651
2004-12-27 13:00:12 -08:00
H.J. Lu
ad49d8653b
re PR bootstrap/19072 (--disable-static bootstrap failure)
...
2004-12-19 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/19072
* Makefile.in (enable_shared): New substitute.
(LTTARGETLIB): New.
(PREFIXTARGETLIB): New.
(LTTESTLIB): New.
(PREFIXTESTLIB): New.
(CCLD): New.
(LINK): New.
($(TARGETLIB)): Use $(LINK) to create libraries and create
targets by hand.
($(TESTLIB)): Likewise.
(mostlyclean): Don't remove .libs. Remove the libtool object
directory.
* config.table (enable_shared): Removed.
* configure.ac (enable_static): Set to yes.
(AC_PROG_LIBTOOL): Removed.
(AM_DISABLE_SHARED): Uncommented.
(AM_PROG_LIBTOOL): Likewise.
(LIBOBJS): Add `./' to avoid VPATH.
(LTLIBOBJS): Likewise.
(enable_shared): Substitute.
* configure: Regenerated.
From-SVN: r92406
2004-12-19 20:01:20 -08:00
H.J. Lu
207db768e9
Makefile.in (top_builddir): Set to `.'.
...
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.
From-SVN: r92353
2004-12-18 08:43:38 -08:00
Ben Elliston
d49d090735
fibheap.h (struct fibnode): Only use unsigned long bitfields when __GNUC__ is defined and ints are less...
...
[include]
* fibheap.h (struct fibnode): Only use unsigned long bitfields
when __GNUC__ is defined and ints are less than 32-bits wide.
[libiberty]
* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
* configure: Regenerate.
* config.in: Likewise.
From-SVN: r92009
2004-12-11 08:25:00 +11:00
Paolo Bonzini
27cfe3106e
configure.ac: Do not enable multilibs for build-side libiberty.
...
2004-09-02 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Do not enable multilibs for build-side libiberty.
From-SVN: r86959
2004-09-02 07:05:24 +00:00
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
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
DJ Delorie
398b3debc4
Makefile.in: Convert to ./ throughout.
...
* Makefile.in: Convert to ./ throughout. Rebuild dependencies
with explicit build rules.
(VPATH): Remove.
(.c.o): Poison.
* configure.ac (pexecute, LIBOBJS): Add ./ .
* maint-tool: Build dependencies with explicit rules.
From-SVN: r76366
2004-01-22 14:10:56 -05:00
Kelley Cook
c31d56ed06
configure.in: Rename file to ...
...
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Rename file to ...
* configure.ac: ... this.
* Makefile.in: Update a comment for above change.
* README: Likewise.
* config.in: Regenerate.
From-SVN: r75623
2004-01-10 02:17:41 +00:00