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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]