[pygobject] python.m4: Add python3.3, do not prefer unversioned "python"
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] python.m4: Add python3.3, do not prefer unversioned "python"
- Date: Tue, 6 Nov 2012 09:40:41 +0000 (UTC)
commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
Author: Martin Pitt <martinpitt gnome org>
Date: Tue Nov 6 10:39:27 2012 +0100
python.m4: Add python3.3, do not prefer unversioned "python"
Add python 3.3 to the search list.
http://www.python.org/dev/peps/pep-0394/ broke the well-defined meaning of
"python", so use that as last fallback if more specific versions do not exist.
configure.ac | 2 +-
m4/python.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3ebb9c1..ca9d5d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,7 @@ AC_PROG_CC
AM_PROG_CC_STDC
AM_PROG_CC_C_O
-# check that we have the minimum version of python necisary to build
+# check that we have the minimum version of python necessary to build
JD_PATH_PYTHON(python_min_ver)
# check if we are building for python 3
diff --git a/m4/python.m4 b/m4/python.m4
index c9cdf5d..5bf200c 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -146,7 +146,7 @@ AC_DEFUN([JD_PATH_PYTHON],
dnl Find a Python interpreter. Python versions prior to 2.0 are not
dnl supported
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
- [python python2 python2.7 python2.6 python3 python3.2 python3.1])
+ [python3 python3.3 python3.2 python3.1 python2 python2.7 python2.6 python])
m4_if([$1],[],[
dnl No version check is needed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]