aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2019-01-01 20:35:23 +1100
committerBen Elliston <bje@gnu.org>2019-01-01 20:35:23 +1100
commit7d63d7a08cc11858904b44edaf32d1bc2a52ff0f (patch)
tree393ad3f5ed622927655dbafc23c0cd27103bf332
parent133ffaef0b659e159d9e41468f7b25e494b11fb3 (diff)
downloaddejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.zip
dejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.tar.gz
dejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.tar.bz2
* configure.ac: Abort if AWK is not installed.
* configure: Regenerate.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f73591..8c82d35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2019-01-01 Ben Elliston <bje@gnu.org>
+ * configure.ac: Abort if AWK is not installed.
+ * configure: Regenerate.
+
+2019-01-01 Ben Elliston <bje@gnu.org>
+
* 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