diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-03 13:14:51 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-03 13:14:51 +0300 |
commit | 5a85721a0a1b592287cb67188c5f0c5b55b3e348 (patch) | |
tree | 10f535d9b70cea1d973cd11270b74adaa0e7d781 /configure.ac | |
parent | e46352bc614cf9777ca76deb47330fb408bc1a23 (diff) | |
download | sciteco-5a85721a0a1b592287cb67188c5f0c5b55b3e348.tar.gz |
require isatty() on UNIX
Has always been required, but was missing in configure.ac.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
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], , [ |