[pacman-dev] [PATCH 2/9] Check for python-2.7
Allan McRae
allan at archlinux.org
Mon Sep 27 22:22:38 EDT 2010
Add python-2.7 to the list of checked versions of python and add a
check for a python2 binary before resorting to the unversioned
python binary.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
To be applied after Rémy's fix.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2a6ab08..e709fc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,7 +126,7 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
-AC_CHECK_PROGS([PYTHON], [python2.6 python2.5 python], [false])
+AC_CHECK_PROGS([PYTHON], [python2.7 python2.6 python2.5 python2 python], [false])
# find installed gettext
AM_GNU_GETTEXT([external])
--
1.7.3
More information about the pacman-dev
mailing list