From 108cbb2a887bf0a30f17ccbf0d4e6ae6ac92ac69 Mon Sep 17 00:00:00 2001 From: tromey Date: Wed, 9 Jan 2002 23:22:20 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48697 138bc75d-0d04-0410-961f-82ee72b054a4 --- fastjar/jargrep.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'fastjar/jargrep.h') diff --git a/fastjar/jargrep.h b/fastjar/jargrep.h index 0fd786b8619..bc69b41842b 100644 --- a/fastjar/jargrep.h +++ b/fastjar/jargrep.h @@ -1,5 +1,6 @@ /* jargrep.h - header file for jargrep utility + Copyright (C) 2002 Free Software Foundation Copyright (C) 2000 Cory Hollingsworth This program is free software; you can redistribute it and/or @@ -17,9 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*$Id: jargrep.h,v 1.3 2000/09/13 14:02:02 cory Exp $ -*/ - #define JG_PRINT_BYTEOFFSET 0x00000001 #define JG_PRINT_COUNT 0x00000002 #define JG_IGNORE_CASE 0x00000004 @@ -27,5 +25,3 @@ #define JG_SUPRESS_ERROR 0x00000010 #define JG_INVERT 0x00000020 #define JG_WORD_EXPRESSIONS 0x00000040 - -#define GVERSION "jargrep version 0.1 (09/12/2000)" -- cgit v1.2.1