From: Bruno Haible Date: Sun, 24 Jun 2012 15:06:39 +0000 (+0200) Subject: ptsname_r: Fix test failure on native Windows. X-Git-Tag: v0.1~587 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=72bac1357aa3448e440cd183daac827ecdd76d4d ptsname_r: Fix test failure on native Windows. * modules/ptsname_r (Depends-on): Add isatty. --- diff --git a/ChangeLog b/ChangeLog index d81b72799..7348a2913 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-06-24 Bruno Haible + 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 diff --git a/modules/ptsname_r b/modules/ptsname_r index 7520847e1..0f8ff9389 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: