X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fptsname_r;h=0f8ff9389713adf7ca8bacf087862b550ef56ac8;hb=refs%2Ftags%2Fv0.1;hp=daf1d98125a9f38a2b4836be286a80ac0ce6c601;hpb=78232883c8c01a22307bb38793928f2b9a5a6159;p=gnulib.git diff --git a/modules/ptsname_r b/modules/ptsname_r index daf1d9812..0f8ff9389 100644 --- a/modules/ptsname_r +++ b/modules/ptsname_r @@ -8,11 +8,12 @@ m4/ptsname_r.m4 Depends-on: stdlib extensions -ttyname_r [test $HAVE_PTSNAME_R = 0] +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: gl_FUNC_PTSNAME_R -if test $HAVE_PTSNAME_R = 0; then +if test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1; then AC_LIBOBJ([ptsname_r]) gl_PREREQ_PTSNAME_R fi