From a381e2b5fd4177dc9a9391c2e90212f1ebd1fdd2 Mon Sep 17 00:00:00 2001 From: Felipe Sateler Date: Sun, 21 Aug 2016 18:20:05 -0300 Subject: [PATCH] build-sys: explicitly require python3 Otherwise python programs might be run with python2 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5979de4..32febca 100644 --- a/configure.ac +++ b/configure.ac @@ -263,7 +263,7 @@ AC_ARG_WITH([python], have_lxml=no AS_IF([test "x$with_python" != "xno"], [ - AM_PATH_PYTHON(,, [:]) + AM_PATH_PYTHON([3],, [:]) AS_IF([test "x$PYTHON" != "x:"], [ AC_MSG_CHECKING([for python lxml module]) AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes]) -- 2.7.4