summaryrefslogtreecommitdiff
path: root/modules/ptsname_r
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-06-24 17:06:39 +0200
committerBruno Haible <bruno@clisp.org>2012-06-24 17:06:39 +0200
commit72bac1357aa3448e440cd183daac827ecdd76d4d (patch)
tree028d775c2926f0335f0e6890be56a96311f01d1a /modules/ptsname_r
parentf68069b334f95cfd6d18db4bb059b792beb48158 (diff)
downloadgnulib-72bac1357aa3448e440cd183daac827ecdd76d4d.tar.gz
ptsname_r: Fix test failure on native Windows.
* modules/ptsname_r (Depends-on): Add isatty.
Diffstat (limited to 'modules/ptsname_r')
-rw-r--r--modules/ptsname_r1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ptsname_r b/modules/ptsname_r
index 7520847e12..0f8ff93897 100644
--- a/modules/ptsname_r
+++ b/modules/ptsname_r
@@ -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: