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

Re: [Xen-devel] [PATCH for-4.13] configure: fix print syntax for python 3



On Thu, 19 Sep 2019 at 12:17, Wei Liu <wl@xxxxxxx> wrote:
>
> 16cc3362a missed one print statement.
>
> Signed-off-by: Wei Liu <wl@xxxxxxx>
> ---
>  m4/python_devel.m4 | 2 +-
>  tools/configure    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/m4/python_devel.m4 b/m4/python_devel.m4
> index 7f26381376..e365cd658e 100644
> --- a/m4/python_devel.m4
> +++ b/m4/python_devel.m4
> @@ -6,7 +6,7 @@ AC_PATH_PROG([pyconfig], [$PYTHON-config], [no])
>  AS_IF([test x"$pyconfig" = x"no"], [
>      dnl For those that don't have python-config
>      CPPFLAGS="$CFLAGS `$PYTHON -c 'import distutils.sysconfig; \
> -        print "-I" + distutils.sysconfig.get_config_var("INCLUDEPY")'`"
> +        print("-I" +
> distutils.sysconfig.get_config_var("INCLUDEPY"))'`"

Urgh. This has been mangled. Hope you get the idea...

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.