configure: fix print syntax for python 3
PATCH 1/1 configure: fix print syntax for python 3
16cc3362a missed one print statement.
--- m4/python_devel.m4 | 2 +- tools/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
m4/python_devel.m4 +1 -1
@@ -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"))'`"
CPPFLAGS="$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \
print(distutils.sysconfig.get_config_var("CFLAGS"))'`"
LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \tools/configure +1 -1
@@ -7441,7 +7441,7 @@ fi if test x"$pyconfig" = x"no"; then : CPPFLAGS="$CFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print "-I" + distutils.sysconfig.get_config_var("INCLUDEPY")'`" + print("-I" +
distutils.sysconfig.get_config_var("INCLUDEPY"))'`"
CPPFLAGS="$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \
print(distutils.sysconfig.get_config_var("CFLAGS"))'`"
LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \Signature · 6 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 19 lines · Wei Liu
16cc3362amissed one print statement.Signed-off-by Wei Liu <[email protected]>--- m4/python_devel.m4 | 2 +- tools/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)m4/python_devel.m4 +1
-1@@ -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" +
Quoted 1 line
distutils.sysconfig.get_config_var("INCLUDEPY"))'`"
Urgh. This has been mangled. Hope you get the idea...
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Wei Liu writes ("Re: [PATCH for-4.13] configure: fix print syntax for python 3"):
Quoted 10 lines · Wei Liu
Quoted 9 lines
16cc3362amissed one print statement.Signed-off-by Wei Liu <[email protected]>--- m4/python_devel.m4 | 2 +- tools/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 13 lines
Quoted 11 lines
m4/python_devel.m4 +1
-1@@ -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...
My previous reply bounced due to header mangling in your first mail. Let me try again:
This is good in principle but:
Can you provide as a git branch ? Then I will get the unmangled version and be able to try it out.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 8 lines · Ian Jackson
My previous reply bounced due to header mangling in your first mail. Let me try again:
This is good in principle but:
Can you provide as a git branch ? Then I will get the unmangled version and be able to try it out.
Quoted 1 line
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Ian Jackson
Acked-byWei Liu writes ("Re: [PATCH for-4.13] configure: fix print syntax for python 3"):
Quoted 10 lines · Ian Jackson
Quoted 7 lines
My previous reply bounced due to header mangling in your first mail. Let me try again:
This is good in principle but:
Can you provide as a git branch ? Then I will get the unmangled version and be able to try it out.
Thanks,
and pushed.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel