From 85ff5c5ffeeb0c0f0770e269bbc9ee232960093f Mon Sep 17 00:00:00 2001 From: Liang Chang Date: Fri, 4 Feb 2022 02:17:28 +0800 Subject: [PATCH] configure.ac: check if getty exists. --- cde/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cde/configure.ac b/cde/configure.ac index c86f925e3..e237637b4 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -408,6 +408,11 @@ if test -z "$ac_cv_prog_ONSGMLS"; then MISSING_PROGS="ONSGMLS ${MISSING_PROGS}" fi +AC_PATH_PROGS(GETTY, getty agetty, , [/sbin:/usr/sbin:/usr/libexec:$PATH]) +if test -z "$ac_cv_path_GETTY"; then + MISSING_PROGS="getty ${MISSING_PROGS}" +fi + dnl Used to check if program 'tic' is available to install terminfo files AC_CHECK_PROGS(TIC, tic, :)