summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-01-28 08:26:37 (GMT)
committerAlexey Neyman <stilor@att.net>2019-01-28 08:26:37 (GMT)
commit88a08bd2fdca997458eb4048c905cdd55106965c (patch)
treec9d9aac24c5225b49a82c44242e46b51d41cedd5
parentea07954745a5c81dcf429de105652c898ad17452 (diff)
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>
-rw-r--r--m4/ctng_version_check.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ctng_version_check.m4 b/m4/ctng_version_check.m4
index 4518e0c..fee522e 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]')