diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-12-22 11:27:02 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-12-22 11:27:02 +0000 |
commit | 91b016c4148c51573ca3a3eb6bc2ae5d623909ce (patch) | |
tree | b5715ac35cf9e1aa198156162d476d00f52491ad /variable.c | |
parent | be883de241f76937d03a0a623636a34a3d2b77c3 (diff) | |
download | gunmake-91b016c4148c51573ca3a3eb6bc2ae5d623909ce.tar.gz |
configh.dos.template [__DJGPP__]: Replace HAVE_SYS_SIGLIST with
HAVE_DECL_SYS_SIGLIST.
job.c (child_execute_job): Remove __MSDOS__ because MSDOS/DJGPP build does
not use child_execute_job.
variable.c (define_automatic_variables) [__MSDOS__]: Always export the SHELL
environment variable to the child.
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -794,6 +794,9 @@ define_automatic_variables (void) /* This won't override any definition, but it will provide one if there isn't one there. */ v = define_variable ("SHELL", 5, default_shell, o_default, 0); +#ifdef __MSDOS__ + v->export = v_export; /* Export always SHELL. */ +#endif /* On MSDOS we do use SHELL from environment, since it isn't a standard environment variable on MSDOS, so whoever sets it, does that on purpose. |