2003-02-19 Roland McGrath <roland@redhat.com>

* version.c: Removed.
	* Makefile.am (strace_SOURCES): Remove it.
	* strace.c: Use PACKAGE_NAME and VERSION macros instead of version var.
This commit is contained in:
Roland McGrath 2003-02-20 02:56:29 +00:00
parent 7152234bbf
commit 9c9a2534e3
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,7 @@ ARCH = @arch@
AM_CFLAGS = $(WARNFLAGS)
INCLUDES = -I$(OS)/$(ARCH) -I$(srcdir)/$(OS)/$(ARCH) -I$(OS) -I$(srcdir)/$(OS)
strace_SOURCES = strace.c version.c syscall.c util.c desc.c file.c ipc.c \
strace_SOURCES = strace.c syscall.c util.c desc.c file.c ipc.c \
io.c ioctl.c mem.c net.c process.c bjm.c \
resource.c signal.c sock.c system.c term.c time.c \
proc.c stream.c

View File

@ -81,7 +81,6 @@ FILE *outf;
struct tcb **tcbtab;
unsigned int nprocs, tcbtabsize;
char *progname;
extern const char version[];
extern char **environ;
static int trace P((void));
@ -247,7 +246,7 @@ char *argv[];
qualify("abbrev=none");
break;
case 'V':
printf("%s\n", version);
printf("%s -- version %s\n", PACKAGE_NAME, VERSION);
exit(0);
break;
case 'z':