python: add python3.5, python3.4
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2016 22:29:48 +0000 (15:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Apr 2016 22:30:13 +0000 (15:30 -0700)
* m4/python.m4 (AM_PATH_PYTHON): Add python3.5, python3.4.

m4/python.m4

index 32c30e29991073cb1cfc1e6034cd184e5f9782ec..5b6455b3907e5802ac8a1c5048662f46c1d76fc6 100644 (file)
@@ -36,8 +36,9 @@ 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).
+  dnl FIXME: Remove the need to hard-code Python versions here.
   m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
-[python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
+[python python2 python3 python3.5 python3.4 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])