summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2022-05-04 17:02:39 +1000
committerCraig Small <csmall@dropbear.xyz>2022-05-04 17:02:39 +1000
commit9dd75a4ac851f7e99dd402323fb98771708cb201 (patch)
tree46aad39b986fbce8e9ecedda9c157b2e28bb687b /configure.ac
parentbc4b499ed2403caf2cfb9b87067cd004e890c6fc (diff)
downloadprocps-ng-9dd75a4ac851f7e99dd402323fb98771708cb201.tar.gz
build-sys: Add missing configure flag
Missed adding configure.acfor the use ctty commit References: commit b47693c078c256e897baf6b50f3aaf6accb5d35e Signed-off-by: Craig Small <csmall@dropbear.xyz>
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])