aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAvatar zaufi <i.zaufi@gmail.com> 2013-12-13 01:47:46 +0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-12-29 19:59:08 +0000
commitff990637e2397690ce911a762d1ce089acd602ad (patch)
tree00e2d13bd96a6a4bb90761bdb3d2d9e11b39e9a4 /configure.ac
parentfddcb26bc121d802d79b67034ef90cb7a99338ff (diff)
downloadpaludis-ff990637e2397690ce911a762d1ce089acd602ad.tar.gz
paludis-ff990637e2397690ce911a762d1ce089acd602ad.tar.xz
Make it Python3 compatible
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ebbc5f6cf..9c11264ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1051,8 +1051,8 @@ if test "x$enable_python" = "xyes" ; then
AC_MSG_ERROR([Your gcc is too old for Python support]))
AC_MSG_CHECKING(for headers required to compile python extensions)
- py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
- py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
+ py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
+ py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
PYTHON_INCLUDE_DIR="${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDE_DIR="$PYTHON_INCLUDE_DIR -I${py_exec_prefix}/include/python${PYTHON_VERSION}"