]> granicus.if.org Git - cronie/commitdiff
Version of cron is used from configure.
authormmaslano <mmaslano@redhat.com>
Mon, 27 Aug 2007 15:25:34 +0000 (17:25 +0200)
committerTomas Janousek <tomi@nomi.cz>
Mon, 27 Aug 2007 16:19:51 +0000 (18:19 +0200)
configure.ac
src/cron.c
src/cron.h

index c9f99232f0ed8b9fff4bf6dd59a7d3437f1adf41..5fdede2e20f225857d53d9da2c62bc132f07c132 100644 (file)
@@ -11,8 +11,6 @@ fi
 
 AM_INIT_AUTOMAKE(foreign)
 
-AC_SUBST(VERSION)
-
 AC_CANONICAL_HOST
 
 dnl Checks for programs.
index 910d70890cae88bb51a96afa7cf28cee4834e5b6..671afe57cb17108601bbcc1f1aacf1dbdb7df937 100644 (file)
@@ -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 */
index 1e74138a20c4f59f436f67a50f954628d866846e..7bc553c1954437cef3841b5da81b70479ec50f13 100644 (file)
@@ -28,8 +28,6 @@
  * vix 30dec86 [written]
  */
 
-#define CRON_VERSION "V5.0"
-
 #include "../config.h"
 #include "externs.h"