changeset 16941:55517840cca9

ptsname_r: Fix test failure on native Windows. * modules/ptsname_r (Depends-on): Add isatty.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Jun 2012 17:06:39 +0200
parents f0c9b2dc0596
children 17843e284264
files ChangeLog modules/ptsname_r
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-06-24  Bruno Haible  <bruno@clisp.org>
 
+	ptsname_r: Fix test failure on native Windows.
+	* modules/ptsname_r (Depends-on): Add isatty.
+
 	ptsname_r: Fix test failures on IRIX, Solaris.
 	* m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Test whether isatty sets
 	errno when it fails. Define ISATTY_FAILS_WITHOUT_SETTING_ERRNO
--- a/modules/ptsname_r
+++ b/modules/ptsname_r
@@ -8,6 +8,7 @@
 Depends-on:
 stdlib
 extensions
+isatty          [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
 ttyname_r       [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
 
 configure.ac: