Recognise bash-4 as a usable bash.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Feb 17 21:05:10 2009 +0000 (2009-02-17)
changeset 121361e11b37185a
parent 1211 5dc29dbd1523
child 1215 11df94e12b58
Recognise bash-4 as a usable bash.
Spotted by "Kim B. Heino" <Kim.Heino@bluegiga.com>

/trunk/configure | 7 3 4 0 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
configure
     1.1 --- a/configure	Tue Feb 17 17:06:04 2009 +0000
     1.2 +++ b/configure	Tue Feb 17 21:05:10 2009 +0000
     1.3 @@ -25,21 +25,20 @@
     1.4  # Examples:
     1.5  #    bash:bash=^GNU bash, version 3\.
     1.6  #     - if ${bash} is set and non-null, does nothing
     1.7 -#     - else ensures that bash exists in the PATH, and that
     1.8 -#         "$( "$( which bash )" --version |head -n 1 )"
     1.9 +#     - else ensures that bash exists in the PATH, and that $( bash --version )
    1.10  #       matches the regexp '^GNU bash, version 3\.'
    1.11  #       - if so, then sets bash="$( which bash )"
    1.12  #    autoconf=(GNU Autoconf) || autoconf2.50
    1.13  #     - does not look at an existing variable
    1.14  #     - ensures that:
    1.15 -#         - 'autoconf' is to be found in the PATH, and that $( autoconf --version |head -n 1 )
    1.16 +#         - 'autoconf' is to be found in the PATH, and that $( autoconf --version )
    1.17  #           matches the regexp '(GNU Autoconf)' (which btw is the signature of
    1.18  #           autoconf >= 2.50),
    1.19  #       OR that:
    1.20  #         - 'autoconf2.50' is to be found in the PATH
    1.21  #
    1.22  TOOLS_TO_CHECK='
    1.23 -bash:bash=^GNU bash, version 3\.
    1.24 +bash:bash=^GNU bash, version [34]\.
    1.25  cut
    1.26  xargs
    1.27  install:install=GNU coreutils