From bdfe8ef34754e24205d751d4d4373556f82a2a7e Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Sat, 14 Nov 2009 22:38:33 -0500 Subject: [PATCH] Add check for isatty --- configure.ac | 2 +- src/configh.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 78d8f6a..3859891 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/src/configh.in b/src/configh.in index 5f93f99..a8c4a8b 100644 --- a/src/configh.in +++ b/src/configh.in @@ -15,6 +15,9 @@ /* Define to 1 if you have the 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 header file. */ #undef HAVE_MEMORY_H -- 2.43.0