From ff990637e2397690ce911a762d1ce089acd602ad Mon Sep 17 00:00:00 2001 From: zaufi Date: Fri, 13 Dec 2013 01:47:46 +0400 Subject: Make it Python3 compatible --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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}" -- cgit v1.2.3