]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build-sys: explicitly require python3
authorFelipe Sateler <fsateler@gmail.com>
Sun, 21 Aug 2016 21:20:05 +0000 (18:20 -0300)
committerFelipe Sateler <fsateler@gmail.com>
Mon, 28 Nov 2016 18:00:20 +0000 (15:00 -0300)
Otherwise python programs might be run with python2

configure.ac

index 5979de4dc6a9ffa9a8c0575ca3a50bbf1e169eb9..32febcabe9d21ef25cf9e42cddb5a7ff3556be91 100644 (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])