Mercurial > hg > octave-nkf > gnulib-hg
changeset 13767:6014d70470fb
bootstrap: fix Solaris regression
* build-aux/bootstrap (check_versions): Solaris tr still needs []
around ranges.
Reported by Pádraig Brady.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Tue, 05 Oct 2010 09:42:06 -0600 |
parents | 691638817061 |
children | f19c8837df90 |
files | ChangeLog build-aux/bootstrap |
diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,14 @@ +2010-10-05 Eric Blake <eblake@redhat.com> + + bootstrap: fix Solaris regression + * build-aux/bootstrap (check_versions): Solaris tr still needs [] + around ranges. + Reported by Pádraig Brady. + 2010-10-05 Eric Blake <eblake@redhat.com> bootstrap: work with pkg-config - * build-aux/bootstrap (found_aux_dir): Also transliterate - in + * build-aux/bootstrap (check_versions): Also transliterate - in prerequisite name. (print_versions): Be robust to any \ in $buildreq. Avoid listing prerequisites that were already found, to avoid confusion.
--- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2010-10-05.14; # UTC +scriptversion=2010-10-05.15; # UTC # Bootstrap this package from checked-out sources. @@ -351,7 +351,7 @@ app=libtoolize fi # Honor $APP variables ($TAR, $AUTOCONF, etc.) - appvar=`echo $app | tr 'a-z-' 'A-Z_'` + appvar=`echo $app | tr '[a-z]-' '[A-Z]_'` test "$appvar" = TAR && appvar=AMTAR eval "app=\${$appvar-$app}" inst_ver=$(get_version $app)