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

Marc-André Lureau mlureau at redhat.com
Fri Mar 10 11:19:36 UTC 2017


(for those wondering about the syntax, that's actually documented in https://www.gnu.org/software/automake/manual/html_node/Python.html)

ack

----- Original Message -----
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list