On Monday 04 October 2010, Thomas Klausner wrote:
> Hi!
Hi Thomas.  Thanks for the report.
 
> automake-1.11.1's python.m4 only knows about python3.0 and
> python2.5 and earlier. Could you please add python3.1, python2.7,
> and python2.6?
python3.1 and and python2.6 have already been added to `python.m4'
in the developement version of automake, but and python2.7 has not.
Also, I see that the first release candidate of of python3.2 is
planned for the beginning of dicember, so we might even think to
add python3.2 right away to `python.m4'.  This is what I've done
in the attached patch.

Ralf, OK for maint?

Regards,
   Stefano

From 63a4b48e0287c8c5e66f0848006b19fb351d9132 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <stefano.lattar...@gmail.com>
Date: Mon, 4 Oct 2010 18:50:53 +0200
Subject: [PATCH] Add support for newer python versions.

* m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
_AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
line and fix indentation.
* THANKS: Updated.
From a report by Thomas Klausner.
---
 ChangeLog    |    7 +++++++
 THANKS       |    1 +
 m4/python.m4 |    4 ++--
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 03187aa..cb4597e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-10-04  Stefano Lattarini  <stefano.lattar...@gmail.com>
 
+	Add support for newer python versions.
+	* m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
+	_AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
+	line and fix indentation.
+	* THANKS: Updated.
+	From a report by Thomas Klausner.
+
 	Fix nits and bugs in tests `help*.test'.
 	* tests/help4.test: Fix broken sed commands used to strip `-W...'
 	flags away from "$AUTOMAKE" and "$ACLOCAL".
diff --git a/THANKS b/THANKS
index b3ceae6..78da1de 100644
--- a/THANKS
+++ b/THANKS
@@ -335,6 +335,7 @@ Theodoros V. Kalamatianos thk...@gmail.com
 Thien-Thi Nguyen	t...@glug.org
 Thomas Fitzsimmons	fitz...@redhat.com
 Thomas Gagne		tga...@ix.netcom.com
+Thomas Klausner		t...@giga.or.at
 Thomas Morgan		tmor...@pobox.com
 Thomas Schwinge		tschwi...@gnu.org
 Thomas Tanner		tan...@ffii.org
diff --git a/m4/python.m4 b/m4/python.m4
index 1dc3985..50e1538 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -37,8 +37,8 @@ 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.1 python3.0 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
-python2.1 python2.0])
+[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
+ python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
 
   m4_if([$1],[],[
     dnl No version check is needed.
-- 
1.7.1

Reply via email to