[libvirt] [PATCH sandbox] Explicitly check for python3 in configure.ac

Daniel P. Berrangé berrange at redhat.com
Fri Mar 23 15:57:15 UTC 2018


A bare AM_PATH_PYTHON statement is satisfied by any version of python >=
2.0.0, but we converted to Python 3, so should be explicit about it.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index cb7a483..28305d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,7 @@ dnl Should be in m4/virt-gettext.m4 but intltoolize is too
 dnl dumb to find it there
 IT_PROG_INTLTOOL([0.35.0])
 
-AM_PATH_PYTHON
+AM_PATH_PYTHON([3])
 
 AC_OUTPUT(Makefile
           libvirt-sandbox/Makefile
-- 
2.14.3




More information about the libvir-list mailing list