Search for python by looking for "python2.7" and "python3.3" as well.

This commit is contained in:
dana koch
2014-04-29 10:45:16 +10:00
committed by Nick Mathewson
parent cdc64f020c
commit 057a2f8285
+1 -1
View File
@@ -201,7 +201,7 @@ AM_CONDITIONAL(MINIUPNPC, test x$upnp = xtrue)
AM_PROG_CC_C_O
AC_ARG_VAR(PYTHON)
AC_CHECK_PROGS(PYTHON, [python python2 python3])
AC_CHECK_PROGS(PYTHON, [python python2 python2.7 python3 python3.3])
if test "x$PYTHON" = "x"; then
AC_MSG_WARN([Python unavailable; some tests will not be run.])
fi