quotearg: don't attempt to store 1 << 31 into an "int"
[gnulib.git] / m4 / isatty.m4
index 5d866ff..cac8231 100644 (file)
@@ -1,5 +1,5 @@
-# isatty.m4 serial 1
-dnl Copyright (C) 2012 Free Software Foundation, Inc.
+# isatty.m4 serial 3
+dnl Copyright (C) 2012-2013 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], [:])