aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorQuentin Boswank <qubos@outlook.de>2024-02-28 21:04:40 +0000
committerChris Packham <judge.packham@gmail.com>2024-03-08 09:56:12 +1300
commit3a00605494887f38e40a3e7ba30274009272ee64 (patch)
tree0f5e8137f852be3e2c1732cb75c433818995df96 /configure.ac
parente8e849a2f62855b03c4df7a6249e7f5319cdd1fc (diff)
downloadcrosstool-ng-3a00605494887f38e40a3e7ba30274009272ee64.tar.gz
crosstool-ng-3a00605494887f38e40a3e7ba30274009272ee64.tar.bz2
crosstool-ng-3a00605494887f38e40a3e7ba30274009272ee64.zip
Check for bash version 4 or higher
We use bash 4 features in some scripts Signed-off-by: Quentin Boswank <qubos@outlook.de>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files 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 >/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],