From feca19849eed8704627a172a799a27e1dfcb1049 Mon Sep 17 00:00:00 2001 From: Bandie Date: Wed, 31 Oct 2018 23:31:37 +0100 Subject: [PATCH] Check for dialog --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 7d3bc6f..7dfcde0 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,11 @@ fi AC_DEFINE_UNQUOTED([PO4A], "$PO4A", [path to po4a]) +AC_PATH_PROG([DIALOG],dialog) +if test -z "$DIALOG" ; then + AC_MSG_ERROR([Please install dialog. Needed by pam_panic_config]) +fi + AC_PATH_PROG([REBOOT], [reboot]) AC_DEFINE_UNQUOTED([REBOOT], "$REBOOT", [path to the reboot command])