From: Felipe Sateler Date: Sun, 21 Aug 2016 21:20:05 +0000 (-0300) Subject: build-sys: explicitly require python3 X-Git-Tag: v233~380^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a381e2b5fd4177dc9a9391c2e90212f1ebd1fdd2;p=thirdparty%2Fsystemd.git build-sys: explicitly require python3 Otherwise python programs might be run with python2 --- diff --git a/configure.ac b/configure.ac index 5979de4dc6a..32febcabe9d 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])