diff options
author | Alexey Neyman <stilor@att.net> | 2019-01-28 00:26:37 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-01-28 00:26:37 -0800 |
commit | 88a08bd2fdca997458eb4048c905cdd55106965c (patch) | |
tree | c9d9aac24c5225b49a82c44242e46b51d41cedd5 /m4 | |
parent | ea07954745a5c81dcf429de105652c898ad17452 (diff) | |
download | crosstool-ng-88a08bd2fdca997458eb4048c905cdd55106965c.tar.gz crosstool-ng-88a08bd2fdca997458eb4048c905cdd55106965c.tar.bz2 crosstool-ng-88a08bd2fdca997458eb4048c905cdd55106965c.zip |
Run version check via eval
... otherwise it fails for autoconf/automake; for some reason, newer
Ubuntu 18.10 adds extra quoting around '${SHELL}' in
$ac_cv_path_AUTOCONF.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ctng_version_check.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ctng_version_check.m4 b/m4/ctng_version_check.m4 index 4518e0c1..fee522e2 100644 --- a/m4/ctng_version_check.m4 +++ b/m4/ctng_version_check.m4 @@ -18,7 +18,7 @@ AC_DEFUN([CTNG_PROG_VERSION], [ac_cv_path_$1="$$1" CTNG_PATH_ABSNAME([ac_cv_path_$1]) CTNG_MSG_LOG_ENVVAR([ac_cv_path_$1]) - ver=$($ac_cv_path_$1 --version 2>/dev/null) + ver=$(eval $ac_cv_path_$1 --version 2>/dev/null) CTNG_MSG_LOG([looking for '[$5]' regexp in]) CTNG_MSG_LOG_ENVVAR([ver], [version info for $ac_cv_path_$1]) ver=$(AS_ECHO(["$ver"]) | $EGREP '[$5]') |