From 5df18b2098d6211e92a1756a2e9ed4aba618649a Mon Sep 17 00:00:00 2001 From: arai Date: Sun, 18 Aug 2002 14:37:48 +0000 Subject: [PATCH] * src/lharc.c (print_version): version string is made here. * src/lha_macro.h (LHA_VERSION): removed. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@499 6a8cc165-1e22-0410-a132-eb4e3f353aba --- src/lha_macro.h | 3 --- src/lharc.c | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lha_macro.h b/src/lha_macro.h index c047d9f..fd179bd 100644 --- a/src/lha_macro.h +++ b/src/lha_macro.h @@ -7,9 +7,6 @@ /* Ver. 1.14g modified 2000.05.06 T.OKAMOTO */ /* ------------------------------------------------------------------------ */ -/* macro VERSION and PLATFORM are defined in config.h by configure script */ -#define LHA_VERSION "LHa for UNIX version " VERSION " (" PLATFORM ")" - #define FALSE 0 #define TRUE 1 diff --git a/src/lharc.c b/src/lharc.c index c8f4b74..7317c17 100644 --- a/src/lharc.c +++ b/src/lharc.c @@ -450,7 +450,10 @@ work: static void print_version() { - fprintf(stderr, "%s\n", LHA_VERSION); + /* macro PACKAGE_NAME, PACKAGE_VERSION and PLATFORM are + defined in config.h by configure script */ + fprintf(stderr, "%s version %s (%s)\n", + PACKAGE_NAME, PACKAGE_VERSION, PLATFORM); } void -- 2.11.0