]> thyrsus.com Git - intercal.git/commitdiff
Add check for isatty
authorAlex Smith <ais523@bham.ac.uk>
Sun, 15 Nov 2009 03:38:33 +0000 (22:38 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:35:42 +0000 (20:35 -0400)
configure.ac
src/configh.in

index 78d8f6a186e1a1f8212b55704e66678a0dd30976..3859891300181351062327a78def3922f64a2ed9 100644 (file)
@@ -65,7 +65,7 @@ fi
 AC_DEFINE_UNQUOTED([EXEEXT],"$EXEEXT",[Extension to use on executable files.])
 
 dnl Checks for library functions.
-AC_CHECK_FUNCS(gettimeofday gethrtime strdup strtol strtoul snprintf vsnprintf)
+AC_CHECK_FUNCS(gettimeofday gethrtime strdup strtol strtoul snprintf vsnprintf isatty)
 ICK_SAVECFLAGS=$CFLAGS
 CFLAGS="$CFLAGS -lrt"
 AC_CHECK_FUNCS(clock_gettime)
index 5f93f995922e40b35567b228f6037dae9e341f6d..a8c4a8bc238a080ff3e7fb4c88b203b619fee5cf 100644 (file)
@@ -15,6 +15,9 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
+/* Define to 1 if you have the `isatty' function. */
+#undef HAVE_ISATTY
+
 /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H