build-sys: explicitly require python3

Otherwise python programs might be run with python2
This commit is contained in:
Felipe Sateler 2016-08-21 18:20:05 -03:00
parent dc3b8afb93
commit a381e2b5fd
1 changed files with 1 additions and 1 deletions

View File

@ -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])