[Spice-devel] [PATCH spice-gtk] build-sys: Use AM_PATH_PYTHON to find PYTHON interpreter

Pavel Grunt pgrunt at redhat.com
Fri Mar 10 09:21:36 UTC 2017


It is more suitable for the task than AC_PATH_PROGS
Also it prevents us from forcing a version of Python
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 763d14b..ad5e6e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ AC_CANONICAL_HOST
 AC_PROG_LIBTOOL
 AM_PROG_CC_C_O
 AC_C_BIGENDIAN
-AC_PATH_PROGS(PYTHON, python2 python)
+AM_PATH_PYTHON(,, [:])
 RRA_LD_VERSION_SCRIPT
 
 AC_MSG_CHECKING([for native Win32])
-- 
2.12.0



More information about the Spice-devel mailing list