diff options
author | Hartmut Becker <becker.ismaning@freenet.de> | 2014-08-31 19:11:08 +0200 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-07 17:48:14 -0400 |
commit | 5369be5079fb66300e63d3a52a7735e1504b7073 (patch) | |
tree | 3628223c6d60ffa51a8393cb62191b97ac3dc860 /makeint.h | |
parent | 8de07f3e4a67fa1c9bd5293d183090ad08b7be6f (diff) | |
download | gunmake-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.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |