summaryrefslogtreecommitdiff
path: root/m4/ax_check_python_mako_module.m4
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2018-08-16 13:59:38 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2018-10-31 19:15:50 +0000
commit986033a2750c1160a4cef3c8418fc7f9e2b4fb5a (patch)
tree272f346932d8d545e79213feeab07d610fa3dfbd /m4/ax_check_python_mako_module.m4
parent6d7d3dbda531b0bc692ffb479d65527b2138dbf3 (diff)
configure: allow building with python3
Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python2 chosen prior to python3 v2: use python2 by default Cc: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'm4/ax_check_python_mako_module.m4')
-rw-r--r--m4/ax_check_python_mako_module.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_python_mako_module.m4 b/m4/ax_check_python_mako_module.m4
index 1d293d821c3..d6484e722fd 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))
- " | $PYTHON2 -
+ " | $PYTHON -
if test $? -ne 0 ; then
AC_MSG_RESULT(no)