From 3cee18b208f1c8e3147b13148130ba12a7dcf6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Thu, 20 Feb 2014 14:04:58 +0100 Subject: Fall back to ioctl(TIOCNOTTY) to detach from the controlling terminal. * As with setpgid, only do this if setsid fails or is absent. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.3