ptsname_r: Fix test failure on native Windows.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Jun 2012 15:06:39 +0000 (17:06 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Jun 2012 15:06:39 +0000 (17:06 +0200)
* modules/ptsname_r (Depends-on): Add isatty.

ChangeLog
modules/ptsname_r

index d81b727..7348a29 100644 (file)
--- 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
index 7520847..0f8ff93 100644 (file)
@@ -8,6 +8,7 @@ m4/ptsname_r.m4
 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: