diff options
author | Ben Elliston <bje@gnu.org> | 2019-01-01 20:35:23 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2019-01-01 20:35:23 +1100 |
commit | 7d63d7a08cc11858904b44edaf32d1bc2a52ff0f (patch) | |
tree | 393ad3f5ed622927655dbafc23c0cd27103bf332 | |
parent | 133ffaef0b659e159d9e41468f7b25e494b11fb3 (diff) | |
download | dejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.zip dejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.tar.gz dejagnu-7d63d7a08cc11858904b44edaf32d1bc2a52ff0f.tar.bz2 |
* configure.ac: Abort if AWK is not installed.
* configure: Regenerate.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 13 insertions, 0 deletions
@@ -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. @@ -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 |