summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2012-06-10 18:01:44 +0000
committerKai Huuhko <kai.huuhko@gmail.com>2012-06-10 18:01:44 +0000
commit0e1246d429f9b01f112367ab1ebdd0fffce0aa46 (patch)
treeaa3818908f1a2d368051860ac7da584ec0d888d4
parenteba230a51156cc1528355957588dd85a5fd7ec3e (diff)
python-emotion: Fix m4 test to work with py3.
SVN revision: 71913
-rw-r--r--m4/python.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index 02acac8..f625251 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -47,8 +47,8 @@ if test -x "$PYTHON_INCLUDES"; then
47PYTHON_INCLUDES="-I$PYTHON_INCLUDES" 47PYTHON_INCLUDES="-I$PYTHON_INCLUDES"
48else 48else
49dnl deduce PYTHON_INCLUDES 49dnl deduce PYTHON_INCLUDES
50py_prefix=`$PYTHON -c "import sys; print sys.prefix"` 50py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
51py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` 51py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
52if test -x "$PYTHON-config"; then 52if test -x "$PYTHON-config"; then
53PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` 53PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
54else 54else