Commit Graph

80 Commits

Author SHA1 Message Date
Mark Mitchell 7b17bc2995 * libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
	(ISBLANK): Remove.
	(stdio.h): Include.
	(buildargv): Use ISSPACE instead of ISBLANK.
	(expandargv): New function.
	* Makefile.in: Regenerated.
2005-09-26 21:02:59 +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 75919f948c merge from gcc 2005-05-11 02:10:00 +00:00
Nick Clifton 979c05d324 Update the address and phone number of the FSF organization. 2005-05-10 15:33:34 +00:00
DJ Delorie ac119ae83b merge from gcc 2005-04-11 19:32:04 +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 0fad4bdb8e merge from gcc 2005-03-25 04:57:08 +00:00
DJ Delorie 8ec3272396 merge from gcc 2005-03-10 01:06:07 +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 20cfcaee85 merge from gcc 2005-03-07 23:20:07 +00:00
DJ Delorie 190eb1370b merge from gcc 2005-03-01 14:33:00 +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
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 abe84df797 merge from gcc 2004-12-08 18:55:40 +00:00
Ben Elliston 6e33482eaa * Makefile.in (.NOEXPORT): Move above the autogenerated line. 2004-12-08 03:13:28 +00:00
DJ Delorie 62ce8ace27 merge from gcc 2004-12-08 01:02:33 +00:00
Ben Elliston 9888440ad6 * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused.
	* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.
2004-12-08 00:30:35 +00:00
DJ Delorie 6cfb3176b5 merge from gcc 2004-11-13 15:48:36 +00:00
DJ Delorie 0cb2db3ae1 merge from gcc 2004-05-25 20:03:59 +00:00
DJ Delorie e0c148a751 merge from gcc 2004-03-18 02:07:18 +00:00
DJ Delorie 37254c9a9e merge from gcc 2004-01-22 19:34:11 +00:00
DJ Delorie 3795d586a3 merge from gcc 2004-01-14 22:01:54 +00:00
DJ Delorie 5972747385 merge from gcc 2004-01-12 21:24:38 +00:00
DJ Delorie 1a79b02433 merge from gcc 2004-01-10 04:04:05 +00:00
Daniel Jacobowitz 4fd47f10ae * Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
	its macros locally.
2003-12-22 19:22:57 +00:00
DJ Delorie 09e9708c4c merge from gcc 2003-12-15 19:03:58 +00:00
DJ Delorie 70ecf948d9 merge from gcc 2003-06-22 16:35:53 +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 1ea16ec5b4 merge from gcc 2003-04-15 21:29:34 +00:00
Alexandre Oliva aa072e5934 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.
2003-03-23 10:16:44 +00:00
DJ Delorie cc52927424 merge from gcc 2003-02-22 17:08:34 +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
DJ Delorie 85b9a93839 merge from gcc 2003-01-30 20:00:42 +00:00
Alexandre Oliva 578460f23e * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
(info-subdir, install-info-subdir, clean-info-subdir)
(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
(clean-subdir, distclean-subdir, maintainer-clean-subdir):
Pass $(FLAGS_TO_PASS).
2003-01-28 21:53:39 +00:00
Alexandre Oliva 7f285245cf * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
/`$$CC -print-multi-os-directory`.
2003-01-28 01:46:13 +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 27a39a5f0a merge from gcc 2003-01-09 14:39:43 +00:00
DJ Delorie 2a80c0a458 merge from gcc 2002-11-22 21:02:14 +00:00
DJ Delorie 1b67de929e merge from gcc 2002-09-23 12:08:57 +00:00
DJ Delorie b39b76b8b5 merge from gcc 2002-07-01 18:02:30 +00:00
DJ Delorie 4748c6d894 merge from gcc 2002-06-22 13:31:20 +00:00
DJ Delorie 50d4562d6e merge from gcc 2002-03-04 22:01:27 +00:00
DJ Delorie cc096b7166 merge from gcc 2002-01-22 20:14:53 +00:00
DJ Delorie fec501579d merge from gcc 2001-11-26 22:25:58 +00:00
DJ Delorie 3bc62f91f4 merge from gcc 2001-10-21 00:08:22 +00:00