From 5369be5079fb66300e63d3a52a7735e1504b7073 Mon Sep 17 00:00:00 2001 From: Hartmut Becker Date: Sun, 31 Aug 2014 19:11:08 +0200 Subject: 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 --- makeint.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'makeint.h') 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; -- cgit v1.2.3