From 9dd75a4ac851f7e99dd402323fb98771708cb201 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Wed, 4 May 2022 17:02:39 +1000 Subject: [PATCH] build-sys: Add missing configure flag Missed adding configure.acfor the use ctty commit References: commit b47693c078c256e897baf6b50f3aaf6accb5d35e Signed-off-by: Craig Small --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 2d83aef1..a510b8aa 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])