From cff80b6c153661ed40a207815a3d3a132daae656 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 24 Aug 2018 11:14:15 +0100 Subject: Revert "configure: allow building with python3" This reverts commit ae7898dfdbe5c8dab7d11c71862353f1ae43feb0. Turns out the python scripts are _not_ fully python 3 compatible. As Ilia reported using get_xmlpool.py with LANG=C produces some weird output - see the link for details. Even though the issue was spotted with the autoconf build, it exposes a genuine problem with the script (and lack of lang handling of the meson build.) https://lists.freedesktop.org/archives/mesa-dev/2018-August/203508.html --- m4/ax_check_python_mako_module.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/ax_check_python_mako_module.m4 b/m4/ax_check_python_mako_module.m4 index d6484e722fd..1d293d821c3 100644 --- a/m4/ax_check_python_mako_module.m4 +++ b/m4/ax_check_python_mako_module.m4 @@ -52,7 +52,7 @@ else: ver_req = distutils.version.LooseVersion('$1') ver_act = distutils.version.LooseVersion(mako.__version__) sys.exit(int(ver_req > ver_act)) - " | $PYTHON - + " | $PYTHON2 - if test $? -ne 0 ; then AC_MSG_RESULT(no) -- cgit v1.2.3