X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fisatty.m4;h=6fcf93177421e570c4d16d63ef54c8c2df0116a2;hb=7422b7ede18016dea87d207cbb7535428afba3ec;hp=5d866ff61a54b6a0fd5e77c03710fc771c0f113b;hpb=d7af94ea8b164efa0cc8e8618875a8e9c127ec3c;p=gnulib.git diff --git a/m4/isatty.m4 b/m4/isatty.m4 index 5d866ff61..6fcf93177 100644 --- a/m4/isatty.m4 +++ b/m4/isatty.m4 @@ -1,5 +1,5 @@ -# isatty.m4 serial 1 -dnl Copyright (C) 2012 Free Software Foundation, Inc. +# isatty.m4 serial 3 +dnl Copyright (C) 2012-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -8,9 +8,12 @@ AC_DEFUN([gl_FUNC_ISATTY], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles - dnl On native Windows, the system's isatty() returns true for pipes and - dnl for the NUL device. + dnl On native Windows, the system's isatty(), defined as an alias of _isatty() + dnl in the "oldnames" library, returns true for the NUL device. case $host_os in mingw*) REPLACE_ISATTY=1 ;; esac ]) + +# Prerequisites of lib/isatty.c. +AC_DEFUN([gl_PREREQ_ISATTY], [:])