summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-11-05 11:45:15 -0600
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-11-11 01:26:43 +0100
commite0e99eda367180a73403e3d016e2255bc278e42e (patch)
tree377d5144502424c8706bc1b49911a8d6c7cfcf42 /m4
parentbd0d41d77f0d8a24bb8e6aac3bf580cbe741f88e (diff)
downloadautomake-e0e99eda367180a73403e3d016e2255bc278e42e.tar.gz
python: improve support for modern python (CPython 3.2 and PyPy)
This fixes automake bug#8847. * m4/python.m4 (AM_PATH_PYTHON): Add python3.3 to _AM_PYTHON_INTERPRETER_LIST. * lib/py-compile: Fix compiled filenames for PEP-3147, currently implemented in CPython 3.2 and newer. Do not create '.pyo' files for PyPy. Copyright-paperwork-exempt: yes Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/python.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index a2478181f..50213a9c9 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -37,7 +37,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl Find a Python interpreter. Python versions prior to 2.0 are not
dnl supported. (2.0 was released on October 16, 2000).
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
-[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
+[python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
AC_ARG_VAR([PYTHON], [the Python interpreter])