summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2d83aef..a510b8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,9 @@ then
AC_SUBST([datadir])
AC_SUBST([mandir])
AC_SUBST([infodir])
+ AC_DEFINE([USE_PROC_CTTY], [1], [Use /proc/$PID/ctty to determine controlling TTY])
+else
+ AC_DEFINE([USE_PROC_CTTY], [0], [Use /proc/$PID/ctty to determine controlling TTY])
fi
AM_GNU_GETTEXT_VERSION([0.14.1])