summaryrefslogtreecommitdiff
path: root/makeint.h
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-09-07 17:48:14 -0400
committerPaul Smith <psmith@gnu.org>2014-09-07 17:48:14 -0400
commitfa91b4db3d21dc4f6f2a82d2249f5398a0be23e1 (patch)
tree3628223c6d60ffa51a8393cb62191b97ac3dc860 /makeint.h
parent9f2be272f801be6138671b96463612b12d71c034 (diff)
downloadmake-fa91b4db3d21dc4f6f2a82d2249f5398a0be23e1.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 22370778..ab416654 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;