summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 14:04:58 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 14:04:58 +0100
commit3cee18b208f1c8e3147b13148130ba12a7dcf6e2 (patch)
treea2a2b1cdbe345866b1c008437c405d712bfd6de5 /configure.ac
parente88fc334835a4669d1dd27f7156ceb720a3eafb0 (diff)
downloadratpoison-3cee18b208f1c8e3147b13148130ba12a7dcf6e2.zip
Fall back to ioctl(TIOCNOTTY) to detach from the controlling terminal.
* As with setpgid, only do this if setsid fails or is absent.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cf84ef1..8e749b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,7 +165,7 @@ AS_IF([test "$with_electric_fence" = yes],
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([pwd.h])
+AC_CHECK_HEADERS([pwd.h sys/ioctl.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_TYPEOF