From 5a85721a0a1b592287cb67188c5f0c5b55b3e348 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 3 Aug 2025 13:14:51 +0300 Subject: require isatty() on UNIX Has always been required, but was missing in configure.ac. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7320ffe..4821cf9 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,8 @@ AC_CHECK_FUNCS([memset setlocale strchr strrchr fstat sscanf], , [ # glib defines G_OS_UNIX instead... case $host in *-*-linux* | *-*-*bsd* | *-*-darwin* | *-*-cygwin* | *-*-haiku*) - AC_CHECK_FUNCS([realpath readlink pathconf fchown dup dup2 getpid open read kill mmap popen pclose], , [ + AC_CHECK_FUNCS([realpath readlink pathconf fchown dup dup2 getpid + open read kill mmap popen pclose isatty], , [ AC_MSG_ERROR([Missing libc function]) ]) AC_SEARCH_LIBS(dladdr, [dl], , [ -- cgit v1.2.3