summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-02 23:45:37 (GMT)
committerAlexey Neyman <stilor@att.net>2019-03-02 23:45:37 (GMT)
commit862c35457d2cb95124d802d5dbeddb4815dc08c1 (patch)
treee9a44a2349106ca8adb442b1073763df8c681454 /m4
parentc4126d9397353a74ca5aff602dd2c0c527e1dd07 (diff)
Fix build of glibc 2.29 on systems with obsolete host programs
- Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'm4')
-rw-r--r--m4/ctng_version_check.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ctng_version_check.m4 b/m4/ctng_version_check.m4
index fee522e..fe80e73 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=$(eval $ac_cv_path_$1 --version 2>/dev/null)
+ ver=$(eval $ac_cv_path_$1 --version 2>&1)
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]')
@@ -26,7 +26,7 @@ AC_DEFUN([CTNG_PROG_VERSION],
[AC_CACHE_CHECK([for $3], [ac_cv_path_$1],
[AC_PATH_PROGS_FEATURE_CHECK([$1], [$4],
[CTNG_MSG_LOG_ENVVAR([ac_path_$1], [checking $1 at])
- ver=$($ac_path_$1 --version 2>/dev/null)
+ ver=$($ac_path_$1 --version 2>&1)
CTNG_MSG_LOG([looking for '[$5]' regexp in])
CTNG_MSG_LOG_ENVVAR([ver], [version info])
ver=$(AS_ECHO(["$ver"]) | $EGREP '[$5]')