diff options
author | Paul Smith <psmith@gnu.org> | 2014-09-14 01:03:19 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-14 01:03:19 -0400 |
commit | 7f9ce6e97bd1bb4289477ac76532e156947e7865 (patch) | |
tree | b3e06143fcb0801ff26f203351b5037b5ecbd92f /config.h.W32.template | |
parent | 621e9edfe9ac4ad20ce297787fa308b032b3fa8e (diff) | |
download | gunmake-7f9ce6e97bd1bb4289477ac76532e156947e7865.tar.gz |
* main.c (main): Set MAKE_TTYOUT and MAKE_TTYERR.
* configure.ac: Test for isatty() and ttyname()
* makeint.h: provide a substitute for ttyname() if it's not available.
* config.ami.template, config.h-vms.template, config.h.W32.template:
define/undefine HAVE_ISATTY/HAVE_TTYNAME macros.
* NEWS, doc/make.texi: Document these new variables.
Diffstat (limited to 'config.h.W32.template')
-rw-r--r-- | config.h.W32.template | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.W32.template b/config.h.W32.template index f7aed90..849a855 100644 --- a/config.h.W32.template +++ b/config.h.W32.template @@ -292,6 +292,12 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Define to 1 if you have the 'strsignal' function. */ /* #undef HAVE_STRSIGNAL */ +/* Define to 1 if you have the `isatty' function. */ +#define HAVE_ISATTY 1 + +/* Define to 1 if you have the `ttyname' function. */ +/* #undef HAVE_TTYNAME */ + /* Define to 1 if 'n_un.n_name' is a member of 'struct nlist'. */ /* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */ |