From: mmaslano Date: Mon, 27 Aug 2007 15:25:34 +0000 (+0200) Subject: Version of cron is used from configure. X-Git-Tag: v4.2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71f57055d6e53ade565c144b307e16931e9bdd09;p=cronie Version of cron is used from configure. --- diff --git a/configure.ac b/configure.ac index c9f9923..5fdede2 100644 --- a/configure.ac +++ b/configure.ac @@ -11,8 +11,6 @@ fi AM_INIT_AUTOMAKE(foreign) -AC_SUBST(VERSION) - AC_CANONICAL_HOST dnl Checks for programs. diff --git a/src/cron.c b/src/cron.c index 910d708..671afe5 100644 --- a/src/cron.c +++ b/src/cron.c @@ -132,7 +132,7 @@ main(int argc, char *argv[]) { if (fd != STDERR) (void) close(fd); } - log_it("CRON",getpid(),"STARTUP",CRON_VERSION); + log_it("CRON",getpid(),"STARTUP",PACKAGE_VERSION); break; default: /* parent process should just die */ diff --git a/src/cron.h b/src/cron.h index 1e74138..7bc553c 100644 --- a/src/cron.h +++ b/src/cron.h @@ -28,8 +28,6 @@ * vix 30dec86 [written] */ -#define CRON_VERSION "V5.0" - #include "../config.h" #include "externs.h"