Module Name:    src
Committed By:   perry
Date:           Tue Mar 24 13:53:21 UTC 2009

Modified Files:
        src/usr.bin/make: main.c

Log Message:
per dholland, put back MAKE_VERSION for the benefit of third party users.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/usr.bin/make/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/main.c
diff -u src/usr.bin/make/main.c:1.169 src/usr.bin/make/main.c:1.170
--- src/usr.bin/make/main.c:1.169	Fri Mar 20 20:48:00 2009
+++ src/usr.bin/make/main.c	Tue Mar 24 13:53:21 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.169 2009/03/20 20:48:00 perry Exp $	*/
+/*	$NetBSD: main.c,v 1.170 2009/03/24 13:53:21 perry Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.169 2009/03/20 20:48:00 perry Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.170 2009/03/24 13:53:21 perry Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
@@ -81,7 +81,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c	8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.169 2009/03/20 20:48:00 perry Exp $");
+__RCSID("$NetBSD: main.c,v 1.170 2009/03/24 13:53:21 perry Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -830,6 +830,9 @@
 	Var_Set(".CURDIR", curdir, VAR_GLOBAL, 0);
 	Var_Set("MACHINE", machine, VAR_GLOBAL, 0);
 	Var_Set("MACHINE_ARCH", machine_arch, VAR_GLOBAL, 0);
+#ifdef MAKE_VERSION
+	Var_Set("MAKE_VERSION", MAKE_VERSION, VAR_GLOBAL, 0);
+#endif
 	Var_Set(".newline", "\n", VAR_GLOBAL, 0); /* handy for :@ loops */
 
 	/*

Reply via email to