Commit Graph

12 Commits

Author SHA1 Message Date
Bryce McKinlay
fab6228541 re PR java/16472 (jartool.c uses ftruncate, nonexistant on mingw32)
2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>

	PR java/16472
	* configure.ac: Check for ftruncate() and _chsize().
	* jartool.c (main): Use _chsize if ftruncate not available.
	* configure, config.h.in: Rebuilt.

From-SVN: r84929
2004-07-19 21:08:20 +01:00
Kelley Cook
794532221c re PR other/15194 (Fastjar configure needlessly fails without long long)
2004-06-25  Kelley Cook  <kcook@gcc.gnu.org>

	PR other/15194
	* configure.ac: Add check for long long.
	* jartool.h: Check for long long before using it.
	* configure: Regenerate
	* config.h.in: Regenerate.

From-SVN: r83690
2004-06-25 23:06:47 +00:00
Kelley Cook
ce7dcf78d8 configure.in: Rename file to ...
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Rename file to ...
	* configure.ac: ... this.  Add in AC_PREREQ(2.57)
	* config.h.in: Regenerate.
	* aclocal.m4: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r75621
2004-01-10 02:09:08 +00:00
Kelley Cook
53d60c042d Makefile.am: Define AM_MAKINFOFLAGS.
fastjar/
2003-12-01  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Define AM_MAKINFOFLAGS.  Remove Automake 1.4 hack.
	* Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
	* aclocal.m4, config.h.in, configure: Likewise.
	* install-sh, missing, mkinstalldirs, stamp-h.in: Remove.

gcc/
2003-12-01  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi: Note that fastjar is built with automake 1.7.x
	and autoconf 2.57.

From-SVN: r74082
2003-12-01 02:58:36 +00:00
Tom Tromey
b41621ee14 * config.h.in: Rebuilt.
From-SVN: r61302
2003-01-14 21:16:20 +00:00
Jakub Jelinek
9d8f417b41 jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
	non-NULL.

	* configure.in (AC_CHECK_HEADERS): Add limits.h.
	* configure, config.h.in: Rebuilt.

From-SVN: r58990
2002-11-10 22:04:24 +01:00
Ranjit Mathew
b4258f0617 configure, [...]: Rebuilt.
2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>

	* configure, config.h.in: Rebuilt.
	* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.

From-SVN: r58175
2002-10-15 18:41:47 +00:00
Tom Tromey
9251acb480 jartool.c (mkdir): Define.
* jartool.c (mkdir): Define.
	* config.h.in: Rebuilt.
	* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
	gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
	aclocal.m4.

From-SVN: r56983
2002-09-09 21:19:16 +00:00
Tom Tromey
7a93476d9b For PR libgcj/5303:
* jargrep.h: Removed RCS keywords.
	(GVERSION): Removed.
	* configure, Makefile.in, config.h.in: Rebuilt.
	* configure.in: Added AM_MAINTAINER_MODE.
	Don't look for getopt.h.  Use `fastjar' as package name.
	* Makefile.am (INCLUDES): Look in ../include.
	(LIBIBERTY): New macro.
	(jar_LDADD): Use it.
	(jar_DEPENDENCIES): Likewise.
	(grepjar_LDADD): Likewise.
	(grepjar_DEPENDENCIES): Likewise.
	* jargrep.c: Removed RCS keywords.  Always include getopt.h.
	(LONG_OPT): New macro.
	(OPT_HELP): Likewise.
	(main): Use getopt_long.  Let getopt print invalid argument
	message.  Handle --help.  Use version().
	(version): New function.
	(optarg, optind): Don't declare.
	(option_vec): New global.
	(help): New function.
	(Usage): Updated to GNU standards.
	* jartool.c: Removed RCS keywords.  Include getopt.h.
	(LONG_OPT): New macro.
	(OPT_HELP): Likewise.
	(options): New global.
	(help): New function.
	(usage): Print a single line.
	(version): New function.
	(expand_options): New function.
	(main): Use getopt_long and expand_options.  Fail if `-u'
	specified.  Changed handling of -f, -m, -V options.
	(OPTION_STRING): New macro.
	(version_string): Removed.

From-SVN: r48697
2002-01-09 23:22:20 +00:00
Craig Rodrigues
798010914e re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

From-SVN: r48493
2002-01-03 04:57:56 +00:00
Tom Tromey
6bd1914e10 jargrep.c: Include getopt.h if it exists.
* jargrep.c: Include getopt.h if it exists.
	(optind): Declare.
	* configure, config.h: Rebuilt.
	* configure.in: Check for getopt.h.

Co-Authored-By: Kelley Cook <kelleycook@home.com>

From-SVN: r38294
2000-12-15 18:45:09 +00:00
Alexandre Petit-Bianco
bd8757b313 fastjar: Imported.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * fastjar: Imported.

From-SVN: r38145
2000-12-08 19:08:23 -08:00