summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-08-21 18:20:05 -0300
committerFelipe Sateler <fsateler@gmail.com>2016-11-28 15:00:20 -0300
commita381e2b5fd4177dc9a9391c2e90212f1ebd1fdd2 (patch)
tree886ab3708af0d8605e67acc9ef2f7bd8719ad2a0 /configure.ac
parentdc3b8afb93f188f212218487ab62fd3f12a2b58f (diff)
build-sys: explicitly require python3
Otherwise python programs might be run with python2
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5979de4dc6..32febcabe9 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])