From 07898bacc9795f1e8c7f8fb50fdf98b5eb6c488a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 14 Sep 2014 01:03:19 -0400 Subject: * 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. --- config.h-vms.template | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h-vms.template') diff --git a/config.h-vms.template b/config.h-vms.template index 71fe269f..8c0a0783 100644 --- a/config.h-vms.template +++ b/config.h-vms.template @@ -362,6 +362,12 @@ this program. If not, see . */ /* Define to 1 if you have the sun library (-lsun). */ /* #undef HAVE_LIBSUN */ +/* Define to 1 if you have the `isatty' function. */ +/* #undef HAVE_ISATTY */ + +/* Define to 1 if you have the `ttyname' function. */ +/* #undef HAVE_TTYNAME */ + /* Use high resolution file timestamps if nonzero. */ #define FILE_TIMESTAMP_HI_RES 0 -- cgit v1.2.1