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

Christophe Fergeau cfergeau at redhat.com
Fri Mar 10 11:15:00 UTC 2017


On Fri, Mar 10, 2017 at 10:21:36AM +0100, Pavel Grunt wrote:
> It is more suitable for the task than AC_PATH_PROGS
> Also it prevents us from forcing a version of Python

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

> ---
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170310/96d37b1d/attachment.sig>


More information about the Spice-devel mailing list