Skip to content

Commit

Permalink
fix: prevent configure fail with bash 5
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusCDE authored and jcmvbkbc committed Feb 6, 2019
1 parent 5cd940f commit a4286b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ AC_CACHE_VAL([ac_cv_path__BASH],
AC_CACHE_CHECK([for bash >= 3.1], [ac_cv_path__BASH],
[AC_PATH_PROGS_FEATURE_CHECK([_BASH], [bash],
[[_BASH_ver=$($ac_path__BASH --version 2>&1 \
|$EGREP '^GNU bash, version (3\.[1-9]|4)')
|$EGREP '^GNU bash, version (3\.[1-9]|4|5)')
test -n "$_BASH_ver" && ac_cv_path__BASH=$ac_path__BASH ac_path__BASH_found=:]],
[AC_MSG_RESULT([no])
AC_MSG_ERROR([could not find bash >= 3.1])])])
Expand Down

0 comments on commit a4286b8

Please sign in to comment.