From 7d63d7a08cc11858904b44edaf32d1bc2a52ff0f Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 1 Jan 2019 20:35:23 +1100 Subject: * configure.ac: Abort if AWK is not installed. * configure: Regenerate. --- ChangeLog | 5 +++++ configure | 4 ++++ configure.ac | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3f73591..8c82d35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2019-01-01 Ben Elliston + * configure.ac: Abort if AWK is not installed. + * configure: Regenerate. + +2019-01-01 Ben Elliston + * config.guess: Update to latest version. * config.sub: Likewise. diff --git a/configure b/configure index 3ec34c6..5dc31df 100755 --- a/configure +++ b/configure @@ -3987,6 +3987,10 @@ fi +if test -z "$AWK"; then + as_fn_error $? "AWK not installed" "$LINENO" 5 +fi + # Extract the first word of "expect", so it can be a program name with args. set dummy expect; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 diff --git a/configure.ac b/configure.ac index 336b585..9ce1b08 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,10 @@ AC_PROG_CXX AC_PROG_INSTALL AC_EXEEXT +if test -z "$AWK"; then + AC_MSG_ERROR([AWK not installed]) +fi + dnl Search for expect. AC_PATH_PROG([EXPECT], [expect]) if test -z $ac_cv_path_EXPECT ; then -- cgit v1.1