summaryrefslogtreecommitdiff
path: root/config.h-vms.template
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-09-07 18:10:11 -0400
committerPaul Smith <psmith@gnu.org>2014-09-07 18:10:11 -0400
commita382c28b0c2fe360983c000436f68bf53fb89d46 (patch)
tree636485ffeb8222a8316b46a83584948baef4b1c1 /config.h-vms.template
parenteaafa84169a0825b6100055b34db0983dff1e887 (diff)
downloadmake-a382c28b0c2fe360983c000436f68bf53fb89d46.tar.gz
Enhance VMS exporting make environment variables.
* config.h-vms.template: add feature macro USE_DCL_COM_FILE to always write a DCL command file, enabled by default. * vmsjobs.c: with USE_DCL_COM_FILE enabled write make variables as DCL symbol assignments into the command file. This enables printing directory and make level info for recursive use of make. This also enables forced DCL symbol substitution in the actions.
Diffstat (limited to 'config.h-vms.template')
-rw-r--r--config.h-vms.template10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.h-vms.template b/config.h-vms.template
index eefc2993..71fe269f 100644
--- a/config.h-vms.template
+++ b/config.h-vms.template
@@ -1,6 +1,6 @@
/* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de> -*-C-*-
-Copyright (C) 1996-2013 Free Software Foundation, Inc.
+Copyright (C) 1996-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
@@ -414,5 +414,13 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
/* Output sync sypport */
#define NO_OUTPUT_SYNC
+/* Define to 1 to write even short single-line actions into a VMS/DCL command
+ file; this also enables exporting make environment variables into the
+ (sub-)process, which executes the action.
+ The usual make rules apply whether a shell variable - here a DCL symbol or
+ VMS logical [see CRTL getenv()] - is added to the make environment and
+ is exported. */
+#define USE_DCL_COM_FILE 1
+
/* Build host information. */
#define MAKE_HOST "VMS"