Skip to content

Commit b0a8f44

Browse files
eli-schwartzallanmcrae
authored andcommitted
configure: bump the minimum version of bash to 4.4
This is required in order to use declare -g and ${var@a} Signed-off-by: Eli Schwartz <[email protected]> Signed-off-by: Allan McRae <[email protected]>
1 parent 885bbb5 commit b0a8f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.ac

+3-3
Original file line numberDiff line numberDiff line change
@@ -193,18 +193,18 @@ AC_DEFUN([AX_PROG_PERL_VERSION],
193193
AX_PROG_PERL_VERSION([5.10.1], [], [AC_MSG_ERROR([perl is too old])])
194194

195195
AS_IF([test "x$BASH_SHELL" = "xfalse"],
196-
AC_MSG_WARN([*** bash >= 4.1.0 is required for pacman scripts]),
196+
AC_MSG_WARN([*** bash >= 4.4.0 is required for pacman scripts]),
197197
[bash_version_major=`$BASH_SHELL -c 'echo "${BASH_VERSINFO[[0]]}"'`
198198
bash_version_minor=`$BASH_SHELL -c 'echo "${BASH_VERSINFO[[1]]}"'`
199199
ok=yes
200200
if test "$bash_version_major" -lt 4; then
201201
ok=no
202202
fi
203-
if test "$bash_version_major" -eq 4 && test "$bash_version_minor" -lt 1; then
203+
if test "$bash_version_major" -eq 4 && test "$bash_version_minor" -lt 4; then
204204
ok=no
205205
fi
206206
if test "$ok" = "no"; then
207-
AC_MSG_ERROR([*** bash >= 4.1.0 is required for pacman scripts])
207+
AC_MSG_ERROR([*** bash >= 4.4.0 is required for pacman scripts])
208208
fi
209209
unset bash_version_major bash_version_minor ok])
210210

0 commit comments

Comments
 (0)