File 0001-Fix-python-print-invocation-in-configure.patch of Package silo
From a0e689b097c262c7e85dbdc630069a78ff8272b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Wed, 21 Sep 2022 00:45:17 +0200
Subject: [PATCH] Fix python print invocation in configure
---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 20fc486..64b21ea 100755
--- a/configure
+++ b/configure
@@ -27103,7 +27103,7 @@ $as_echo "$am_cv_python_pyexecdir" >&6; }
$as_echo_n "checking for Python include path... " >&6; }
if test -z "$PYTHON_CPPFLAGS"; then
python_path=`$PYTHON -c "import distutils.sysconfig; \
- print distutils.sysconfig.get_python_inc();"`
+ print(distutils.sysconfig.get_python_inc());"`
if test -n "${python_path}"; then
python_path="-I$python_path"
fi
diff --git a/configure.ac b/configure.ac
index 25b78cf..924c05d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1135,7 +1135,7 @@ if test -n "$PYTHONMODULE"; then
AC_MSG_CHECKING([for Python include path])
if test -z "$PYTHON_CPPFLAGS"; then
python_path=`$PYTHON -c "import distutils.sysconfig; \
- print distutils.sysconfig.get_python_inc();"`
+ print(distutils.sysconfig.get_python_inc());"`
if test -n "${python_path}"; then
python_path="-I$python_path"
fi
--
2.37.3