mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
build-sys: explicitly require python3
Otherwise python programs might be run with python2
This commit is contained in:
parent
dc3b8afb93
commit
a381e2b5fd
@ -263,7 +263,7 @@ AC_ARG_WITH([python],
|
|||||||
|
|
||||||
have_lxml=no
|
have_lxml=no
|
||||||
AS_IF([test "x$with_python" != "xno"], [
|
AS_IF([test "x$with_python" != "xno"], [
|
||||||
AM_PATH_PYTHON(,, [:])
|
AM_PATH_PYTHON([3],, [:])
|
||||||
AS_IF([test "x$PYTHON" != "x:"], [
|
AS_IF([test "x$PYTHON" != "x:"], [
|
||||||
AC_MSG_CHECKING([for python lxml module])
|
AC_MSG_CHECKING([for python lxml module])
|
||||||
AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes])
|
AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes])
|
||||||
|
Loading…
Reference in New Issue
Block a user