From d5b61e5277c6e290ad247100d7efd178b1886abd Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 1 Oct 1996 07:26:21 +0000 Subject: Make sure we inherit the version from the makefile. svn path=/trunk/; revision=186 --- Makefile.in | 2 +- fetchmail.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 3a2a6a64..82134cb1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -25,7 +25,7 @@ RANLIB = @RANLIB@ # NeXT 1.0a uses an old version of GCC, which required -D__inline=inline. # See also `config.h'. -defines = @DEFS@ +defines = -DRELEASE_ID=\"$(VERS)\" @DEFS@ # defines = -DHAVE_CONFIG_H -DQNX -DHAVE_UNISTD_H -DSTDC_HEADERS # QNX # If your system needs extra libraries loaded in, define them here. diff --git a/fetchmail.c b/fetchmail.c index e31a3e49..bdd5d96c 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -38,9 +38,6 @@ #include "fetchmail.h" -/* release info */ -#define RELEASE_TAG "1.0" - #ifdef HAVE_PROTOTYPES /* prototypes for internal functions */ int showoptions (struct hostrec *queryctl); @@ -341,7 +338,7 @@ struct hostrec *queryctl; int showversioninfo() { - printf("This is fetchmail release %s\n",RELEASE_TAG); + printf("This is fetchmail release %s\n",RELEASE_ID); } /********************************************************************* -- cgit v1.2.3