[gimp/soc-2011-seamless-clone2] m4macros/pythondev.m4: Python 3 compatibility
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] m4macros/pythondev.m4: Python 3 compatibility
- Date: Wed, 8 May 2013 15:22:41 +0000 (UTC)
commit e11b1830ebbe4384d506c841e0eeb25026611a98
Author: Daniel "Tracerneo" Ziółkowski <ziolkoneo gmail com>
Date: Fri May 3 21:02:01 2013 +0200
m4macros/pythondev.m4: Python 3 compatibility
m4macros/pythondev.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/m4macros/pythondev.m4 b/m4macros/pythondev.m4
index 4318083..f15e478 100644
--- a/m4macros/pythondev.m4
+++ b/m4macros/pythondev.m4
@@ -14,8 +14,8 @@ else
py_versiondir=
fi
dnl deduce PYTHON_INCLUDES
-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_INCLUDES="-I${py_prefix}/include${py_versiondir}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include${py_versiondir}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]