summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-09-28 01:59:10 +1000
committerDan McGee <dan@archlinux.org>2010-10-05 11:14:31 -0500
commit283ef6519aa20b8c63c9b916573b5f243ff7be2e (patch)
tree578753a4d08923dcf063a2621c99ad6fbef965c6
parent302188b1690e68333a3768f2a6d261559e81ca0a (diff)
downloadpacman-283ef6519aa20b8c63c9b916573b5f243ff7be2e.tar.xz
Check for python-2.7
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@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6f9f9a96..82cecbaf 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])