aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2013-06-01re PR other/56780 (--disable-install-libiberty still installs libiberty.a)Matt Burgess1-21/+25
PR other/56780 * libiberty/configure.ac: Move test for --enable-install-libiberty outside of the 'with_target_subdir' test so that it actually gets run. Add output messages to show the test result. * libiberty/configure: Regenerate. * libiberty/Makefile.in (install_to_libdir): Place the installation of the libiberty library in the same guard as that used for the headers to prevent it being installed unless requested via --enable-install-libiberty. From-SVN: r199570
2012-09-18strnlen.c: New file.Ian Lance Taylor1-3/+5
* strnlen.c: New file. * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not present. * Makefile.in: Rebuild dependencies. (CFILES): Add strnlen.c. (CONFIGURED_OFILES): Add ./strnlen.$(objext). * configure, config.in, functions.texi: Rebuild. * maint-tool: Accept .def files in the include directory. From-SVN: r191432
2011-08-22Centralize PICFLAG configurationRainer Orth1-21/+4
config: * picflag.m4: New file. gcc: * configure.ac (GCC_PICFLAG_FOR_TARGET): Call it. (PICFLAG_FOR_TARGET): Substitute. * aclocal.m4: Regenerate. * configure: Regenerate. gcc/ada: * gcc-interface/Makefile.in (PICFLAG_FOR_TARGET): New. (GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG_FOR_TARGET. (gnatlib-shared-default, gnatlib-shared-dual-win32) (gnatlib-shared-win32, gnatlib-shared-darwin, gnatlib-shared) (gnatlib-sjlj, gnatlib-zcx): Likewise. libada: * configure.ac: Include ../config/picflag.m4. (GCC_PICFLAG): Call it. Substitute. * configure: Regenerate. * Makefile.in (TARGET_LIBGCC2_CFLAGS): Replace by PICFLAG. (GNATLIBCFLAGS_FOR_C): Replace TARGET_LIBGCC2_CFLAGS by PICFLAG. (LIBADA_FLAGS_TO_PASS): Pass PICFLAG as PICFLAG_FOR_TARGET. Don't include $(GCC_DIR)/libgcc.mvars. libiberty: * aclocal.m4: Include ../config/picflag.m4. * configure.ac (GCC_PICFLAG): Call it. (enable_shared): Clear PICFLAG unless shared. * configure: Regenerate. From-SVN: r177967
2011-07-22re PR c++/49756 (g++ ICE)Jakub Jelinek1-6/+6
PR c++/49756 * libiberty.h (stack_limit_increase): New prototype. * stack-limit.c: New file. * Makefile.in: Regenerate deps. (CFILES): Add stack-limit.c. (REQUIRED_OFILES): Add ./stack-limit.$(objext). * configure.ac (checkfuncs): Add getrlimit and setrlimit. (AC_CHECK_FUNCS): Likewise. * configure: Regenerated. * config.in: Regenerated. * gcc.c (main): Call stack_limit_increase (64MB). * toplev.c (toplev_main): Likewise. From-SVN: r176617
2010-11-21Fix build regressionAnthony Green1-11/+1
From-SVN: r166996
2010-11-04Use spawnve on cygwin.Richard Henderson1-6/+8
* configure.ac (AC_CHECK_HEADERS): Add process.h. (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list. (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe. * configure, config.in: Rebuild. * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function. [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions. From-SVN: r166339
2010-11-02simple-object.h: New file.Ian Lance Taylor1-0/+1
include/: * simple-object.h: New file. libiberty/: * simple-object.c: New file. * simple-object-common.h: New file. * simple-object-elf.c: New file. * simple-object-mach-o.c: New file. * simple-object-coff.c: New file. * simple-object.txh: New file. * configure.ac: Add AC_TYPE_SSIZE_T. * Makefile.in: Rebuild dependencies. (CFILES): Add simple-object.c, simple-object-coff, simple-object-elf.c, and simple-object-mach-o.c. (REQUIRED_OFILES): Add corresponding object files. * configure: Rebuild. * config.in: Rebuild. * functions.texi: Rebuild. Co-Authored-By: Dave Korn <dave.korn.cygwin@gmail.com> Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org> From-SVN: r166185
2010-10-07Turn PR_SET_NAME check into link checkAndi Kleen1-1/+1
Fixes cross compilation for libiberty after my change libiberty/ 2010-10-07 Andi Kleen <ak@linux.intel.com> * configure: Regenerate. * configure.ac: Turn PR_SET_NAME check into link check. From-SVN: r165086
2010-10-06[PATCH] Report LTO phase in lto1 process name v2Andi Kleen1-1/+13
On larger parallel WHOPR builds I find it useful to see in top which phase a given lto1 is in. Set the process name to lto1-wpa, lto1-ltrans, lto1-lto depending on the current mode. This is currently only implemented for Linux and only using the "comm" process name, which is reported in top. v2: Moved function to libiberty, renamed setproctitle to match BSD. In theory it should pick up BSD's libc function for this on a BSD system, but I haven't tested this. gcc/lto/ 2010-10-06 Andi Kleen <ak@linux.intel.com> * lto.c (lto_process_name): Add. (lto_main): Call lto_process_name. include/ 2010-10-06 Andi Kleen <ak@linux.intel.com> * libiberty.h (setproctitle): Add prototype. libiberty/ 2010-10-06 Andi Kleen <ak@linux.intel.com> * Makefile.in (CFILES): Add setproctitle. (CONFIGURED_OFILES): Add setproctitle. (setproctitle): Add rule. * config.in: Regenerate. * configure: Regenerate. * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle. * setproctitle.c: Add file. * functions.texi: Regenerate. From-SVN: r165066
2010-09-08re PR bootstrap/44001 (.o vs. obj => @OBJEXT@ and $ac_objext)Tristan Gingold1-4/+4
2010-09-08 Tristan Gingold <gingold@adacore.com> PR 44001 * maint-tool (missing): Fix pattern for object file. (deps): Use $(objext) for object extension. * Makefile.in (objext): New variable. Replace all occurences of .o with .$(objext) Regenerate with maint-deps * configure.ac (pexecute): Set to the basename. * configure: Regenerate. From-SVN: r163989
2010-06-03re PR bootstrap/42798 (--enable-build-with-cxx bootstrap fails on ↵Ralf Wildenhues1-2/+2
i686-pc-linux-gnu (Fedora12)) Fix PR bootstrap/42798. libiberty/: PR bootstrap/42798 * configure.ac: Check for declaration of 'basename(char *)'. * configure: Regenerate. libcpp/: PR bootstrap/42798 * configure.ac: Check for declaration of 'basename(char *)'. * configure: Regenerate. * config.in: Regenerate. libjava/: * configure: Regenerate. libjava/classpath/: * configure: Regenerate. fixincludes/: PR bootstrap/42798 * configure.ac: Check for declaration of 'basename(char *)'. * configure: Regenerate. From-SVN: r160211
2010-01-04re PR target/42316 ([SH] `builddir-single/libiberty/pic/libiberty.a': No ↵Nobuhiro Iwamatsu1-0/+1
such file or directory) PR target/42316 * configure.ac (PICFLAG): Use -fPIC on SH hosts. * configure: Regenerate. From-SVN: r155634
2009-11-26configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.Ben Elliston1-9/+16
* configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order. * configure: Regenerate. From-SVN: r154660
2009-09-04re PR target/39065 (libiberty hashtab.c:hash_pointer() needs intptr_t)Ozkan Sezer1-3/+3
2009-09-04 Ozkan Sezer <sezeroz@gmail.com> PR target/39065 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T. * config.in: Regenerated. * configure: Regenerated. From-SVN: r151423
2009-09-03re PR target/39065 (libiberty hashtab.c:hash_pointer() needs intptr_t)Ozkan Sezer1-0/+1
2009-09-03 Ozkan Sezer <sezeroz@gmail.com> PR target/39065 * configure.ac: Also check for intptr_t. * config.h.in: Regenerated. * configure: Regenerated. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t instead of of long. From-SVN: r151386
2009-08-24Update AC_PREREQ entries to 2.64Ralf Wildenhues1-1/+1
/: * configure.ac (AC_PREREQ): Bump to 2.64. intl/: * configure.ac (AC_PREREQ): Bump to 2.64. libdecnumber/: * configure.ac (AC_PREREQ): Bump to 2.64. libiberty/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/classpath/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/libltdl/: * configure.ac (AC_PREREQ): Bump to 2.64. Remove FIXME. libssp/: * configure.ac (AC_PREREQ): Bump to 2.64. libobjc/: * configure.ac (AC_PREREQ): Bump to 2.64. libstdc++-v3/: * configure.ac (AC_PREREQ): Bump to 2.64. libada/: * configure.ac (AC_PREREQ): Bump to 2.64. libgcc/: * configure.ac (AC_PREREQ): Bump to 2.64. libgfortran/: * configure.ac (AC_PREREQ): Bump to 2.64. boehm-gc/: * configure.ac (AC_PREREQ): Bump to 2.64. gnattools/: * configure.ac (AC_PREREQ): Bump to 2.64. gcc/: * configure.ac (AC_PREREQ): Bump to 2.64. fixincludes/: * configure.ac (AC_PREREQ): Bump to 2.64. libmudflap/: * configure.ac (AC_PREREQ): Bump to 2.64. zlib/: * configure.ac (AC_PREREQ): Bump to 2.64. libffi/: * configure.ac (AC_PREREQ): Bump to 2.64. libcpp/: * configure.ac (AC_PREREQ): Bump to 2.64. libgomp/: * configure.ac (AC_PREREQ): Bump to 2.64. From-SVN: r151059
2009-04-14configure.ac (setobjs, msdosdjgpp): Move a-priori setting of existing and ↵Eli Zaretskii1-17/+22
required library functions to... * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of existing and required library functions to with_target_subdir section, so that the native build does detect them at configure time. * configure: Regenerated. From-SVN: r146056
2009-04-08configure.ac: Fix Linux/MIPS matching rule.Arnaud Patard1-1/+1
2009-04-07 Arnaud Patard <apatard@mandriva.com> * libiberty/configure.ac: Fix Linux/MIPS matching rule. * libiberty/configure: Regenerate. From-SVN: r145726
2009-03-27memmem.c: New file, from gnulib.Ian Lance Taylor1-1/+2
* memmem.c: New file, from gnulib. * configure.ac: Add memmem to list of functions provided if they are not available on the host. * Makefile.in: Rebuild dependencies. (CFILES): Add memmem.c. (CONFIGURED_OFILES): Add memmem.o. * configure, config.in, functions.texi: Rebuild. From-SVN: r145139
2009-01-18configure.ac (funcs, [...]): Don't munge on Cygwin, as it no longer shares ↵Dave Korn1-23/+0
libiberty object files. * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin, as it no longer shares libiberty object files. * configure: Regenerated. From-SVN: r143487
2008-10-07configure.ac: Call AC_SYS_LARGEFILE.Jan Kratochvil1-0/+1
2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> * configure.ac: Call AC_SYS_LARGEFILE. * config.in: Regenerated. * configure: Likewise. From-SVN: r140940
2008-04-21configure.ac: use -fPIC on Linux/MIPS hosts.Aurelien Jarno1-0/+1
2008-04-21 Aurelien Jarno <aurelien@aurel32.net> * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. * libiberty/configure: Regenerate. From-SVN: r134534
2008-03-27configure.ac (frags): Don't set, use frag instead.Paolo Bonzini1-22/+20
2008-03-27 Paolo Bonzini <bonzini@gnu.org> * configure.ac (frags): Don't set, use frag instead. (PICFLAG): Set here and substitute. * Makefile.in (PICFLAG): Substitute from autoconf. * configure: Regenerate. From-SVN: r133639
2007-07-17configure.ac (target_header_dir, msdosdjgpp): Remove duplicate gettimeofday ↵DJ Delorie1-1/+1
entry. * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate gettimeofday entry. * configure: Likewise. From-SVN: r126704
2007-06-14configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.Paolo Bonzini1-1/+2
2007-06-14 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. * configure: Regenerate. From-SVN: r125716
2007-06-14acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove.Paolo Bonzini1-20/+2
gcc: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove. * aclocal.m4: Regenerate. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNINGS_ARE_ERRORS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER. * configure: Regenerate. * Makefile.in (LOOSE_WARN): Subst loose_warn. * Makefile.in (quickstrap): Build libgcc too. libiberty: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Include config/warnings.m4. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. * configure: Regenerate. config: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines. From-SVN: r125700
2007-06-07configure.ac: Non-default multilibs can be cross compilations.Geoffrey Keating1-0/+19
* configure.ac: Non-default multilibs can be cross compilations. * configure: Regenerate From-SVN: r125536
2007-02-26configure.ac: add djgpp-specific results, so we don't have to link during a ↵DJ Delorie1-0/+17
cross compilation. * configure.ac: add djgpp-specific results, so we don't have to link during a cross compilation. * configure: Regenerated. From-SVN: r122343
2006-08-30configure.ac: Add case for Mingw as host.Corinna Vinschen1-0/+49
2006-08-30 Corinna Vinschen <corinna@vinschen.de> * configure.ac: Add case for Mingw as host. * configure: Regenerate. From-SVN: r116586
2006-04-06Makefile.in: Add install-html, install-html-am, and install-html-recursive ↵Carlos O'Donell1-0/+5
targets. libiberty/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add install-html, install-html-am, and install-html-recursive targets. Define mkdir_p and NORMAL_INSTALL. * configure.ac: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * testsuite/Makefile.in: Add install-html and html targets. From-SVN: r112741
2006-01-29configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where supported.Gabriel Dos Reis1-0/+16
* configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where supported. * configure: Regenerated. From-SVN: r110375
2005-07-22configure.ac: Check for a getopt(3) declaration.Ben Elliston1-1/+1
* configure.ac: Check for a getopt(3) declaration. * configure, config.in: Regenerate. From-SVN: r102267
2005-07-07config.table: Delete file.Kelley Cook1-1/+69
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. From-SVN: r101684
2005-06-21Index: include/ChangeLogGeoffrey Keating1-1/+3
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. From-SVN: r101226
2005-05-28libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if needed.Eli Zaretskii1-2/+2
include: 2005-05-28 Eli Zaretskii <eliz@gnu.org> * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if needed. (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed. libiberty: 2005-05-28 Eli Zaretskii <eliz@gnu.org> * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS. * config.in, configure: Regenerate. From-SVN: r100292
2005-05-24libiberty.h (ACONCAT): Properly cast value of alloca().Gabriel Dos Reis1-0/+1
include/ 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (ACONCAT): Properly cast value of alloca(). * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if __cplusplus. libiberty/ 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * configure.ac: Check declarations for calloc(), getenv(), malloc(), realloc() and sbrk(). * config.in: Regenerate. * configure: Likewise. * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC instead of xmalloc. * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. * concat.c (liiberty_concat_ptr): Surround definition with an extern "C" block, if __cplusplus. (concat): Use XNEWVEC instead of xmalloc. (reconcat): Likewise. * cp-demangle.c (struct d_print_template): Rename member "template" to "template_decl". Adjust use throughout the file. (d_print_resize): Properly cast return value of realloc(). (cplus_demangle_print): Same for malloc(). (d_demangle): Likewise. * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter "typename" to "type_name". * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). (demangle_template_value_parm): Likewise. (demangle_template): Likewise. (recursively_demangle): Likewise. (do_hpacc_template_literal): Likewise. (do_arg): Likewise. (remember_type): Likewise. (remember_Ktype): Likewise. (register_Btype): Likewise. (string_need): Use XRESIZEVEC instead of xrealloc(). * dyn-string.c (dyn_string_init): Use XNEWVEC. (dyn_string_new): Use XNEW. (dyn_string_resize): Use XRESIZEVEC. * fnmatch.c (fnmatch): Rename local variable "not" to "negate". * getopt.c (getenv): Declare only if !__cplusplus and !getenv. Otherwise include <stdlib.h>. (exchange): Cast return value of malloc(). * hashtab.c (htab_size): Define as both macro and non-inline function. (htab_elements): Likewise. * getpwd.c (getpwd): Use XNEWVEC. (htab_create_alloc_ex): Use C90 prototype-style. * lrealpath.c (lrealpath): Appropriately cast return value of malloc(). * make-relative-prefix.c (save_string): Likewise. * make-temp-file.c (try_dir): Rename from "try". Adjust use in the file. (choose_tmpdir): Use XNEWVEC. * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". * pex-common.c (pex_init_common): Use XNEW. (pex_add_remove): Use XRESIZEVEC. (pex_run): Likewise. (pex_get_status_and_time): Likewise. * pex-djgpp.c (pex_djgpp_exec_child): Likewise. * pex-msdos.c (pex_init): Use XNEW. (pex_msdos_exec_child): Likewise. (pex_msdos_exec_child): Use XRESIZEVEC. * pex-unix.c (pex_wait): Use XNEW. * pex-win32.c (fix_argv): Use XNEWVEC. * pexecute.c (pwait): Likewise. * setenv.c (setenv): Properly cast return value of malloc(). * sigsetmask.c (sigsetmask): Rename local variables "old" and "new" to "old_sig" and "new_sig". * sort.c (main): Use XNEWVEC. * spaces.c (spaces): Cast return value of malloc(). * strndup.c (strndup): Likewise. * ternary.c (ternary_insert): Use XNEW. * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration with an extern "C" block if __cplusplus. * xstrdup.c (xstrdup): Cast return value of memcpy(). * xstrerror.c (strerror): Enclose declaration in an extern "C" block if __cplusplus. * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). From-SVN: r100115
2005-05-07aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.Kelley Cook1-4/+4
2005-05-06 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove. * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE. * configure: Regenerate. From-SVN: r99344
2005-05-07configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.Kelley Cook1-1/+1
2005-05-06 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. * aclocal.m4: Don't include accross.m4. * configure, config.in: Regenerate. From-SVN: r99343
2005-04-16asprintf.c: Include config.h.Gabriel Dos Reis1-0/+1
* 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-12configure.ac: Check declarations for basename, ffs, asprintf, vasprintf.Gabriel Dos Reis1-0/+1
* configure.ac: Check declarations for basename, ffs, asprintf, vasprintf. * configure: Regenerate. * config.in: Likewise. From-SVN: r98022
2005-04-11libiberty.h (fopen_unlocked, [...]): Provide prototypes for new functions.Kaveh R. Ghazi1-3/+3
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-02configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings ↵Kaveh R. Ghazi1-1/+1
-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-03-29pex-common.c: New file.Ian Lance Taylor1-3/+3
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-27configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional flags.Andreas Jaeger1-1/+1
* configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional flags. * configure: Regenerated. From-SVN: r97116
2005-03-25libiberty.h (xstrndup): Declare.Kaveh R. Ghazi1-1/+2
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-10libiberty.h (gettimeofday): Declare.Mark Mitchell1-1/+2
* 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-09pex-os2.c: Remove.Ian Lance Taylor1-1/+0
* 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-06configure.ac (target_header_dir): vfork is a stub under djgpp.DJ Delorie1-1/+1
* configure.ac (target_header_dir): vfork is a stub under djgpp. * configure: Regenerated. From-SVN: r95980
2005-03-06configure.ac (target_header_dir): vfork is a stub under djgpp.DJ Delorie1-0/+5
* configure.ac (target_header_dir): vfork is a stub under djgpp. * configure: Regenerated. From-SVN: r95979
2004-12-27Makefile.in: Undo to 2004-12-17.H.J. Lu1-27/+19
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