From 3a00605494887f38e40a3e7ba30274009272ee64 Mon Sep 17 00:00:00 2001 From: Quentin Boswank Date: Wed, 28 Feb 2024 21:04:40 +0000 Subject: [PATCH] Check for bash version 4 or higher We use bash 4 features in some scripts Signed-off-by: Quentin Boswank --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8e93a8fa..67e04923 100644 --- a/configure.ac +++ b/configure.ac @@ -171,12 +171,12 @@ AS_IF([$PATCH --no-backup-if-mismatch /dev/null 2>&1], AC_MSG_RESULT([yes]), AC_MSG_ERROR([$PATCH does not support --no-backup-if-mismatch])) -# We need a bash that is >= 3.1 +# We need a bash that is >= 4.0 CTNG_PROG_VERSION_REQ_STRICT([BASH_SHELL], - [GNU bash >= 3.1], + [GNU bash >= 4.0], [bash], [bash], - [^GNU bash, version (3\.[1-9]|4|5)]) + [^GNU bash, version (4|5)]) # We need a awk that *is* GNU awk CTNG_PROG_VERSION_REQ_STRICT([AWK],