diff options
author | Hartmut Becker <becker.ismaning@freenet.de> | 2014-09-07 17:48:14 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-07 17:48:14 -0400 |
commit | fa91b4db3d21dc4f6f2a82d2249f5398a0be23e1 (patch) | |
tree | 3628223c6d60ffa51a8393cb62191b97ac3dc860 /makeint.h | |
parent | 9f2be272f801be6138671b96463612b12d71c034 (diff) | |
download | make-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.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; |