summaryrefslogtreecommitdiff
path: root/makeint.h
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-08-31 19:11:08 +0200
committerPaul Smith <psmith@gnu.org>2014-09-07 17:48:14 -0400
commit5369be5079fb66300e63d3a52a7735e1504b7073 (patch)
tree3628223c6d60ffa51a8393cb62191b97ac3dc860 /makeint.h
parent8de07f3e4a67fa1c9bd5293d183090ad08b7be6f (diff)
downloadgunmake-5369be5079fb66300e63d3a52a7735e1504b7073.tar.gz
Enhance/fix VMS setting of program name, MAKE/MAKE_COMMAND variables
* default.c, main.c, makeint.h, vmsfunctions.c: prefix argv[0] with "mcr " for MAKE/MAKE_COMMAND and set the program name to the image filename (without the .exe;version) * vmsfunctions.c: remove obsolete code * vmsify: use xmalloc
Diffstat (limited to 'makeint.h')
-rw-r--r--makeint.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/makeint.h b/makeint.h
index 2237077..ab41665 100644
--- a/makeint.h
+++ b/makeint.h
@@ -1,5 +1,5 @@
/* Miscellaneous global declarations and portability cruft for GNU Make.
-Copyright (C) 1988-2013 Free Software Foundation, Inc.
+Copyright (C) 1988-2014 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify it under the
@@ -614,6 +614,12 @@ extern char *program;
#else
extern const char *program;
#endif
+
+#ifdef VMS
+const char *vms_command(const char *argv0);
+const char *vms_progname(const char *argv0);
+#endif
+
extern char *starting_directory;
extern unsigned int makelevel;
extern char *version_string, *remote_description, *make_host;