Do not require python3.3 explicitely
authorBoris Bobrov <breton@cynicmansion.ru>
Thu, 7 Jan 2016 15:28:52 +0000 (18:28 +0300)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 7 Jan 2016 18:50:32 +0000 (10:50 -0800)
It's easier to say "use python3.3+" rather than prevent usage of earlier
versions programmatically in autoconf.

configure.ac

index a2a8a567e567ad0ee2993cba5242f7998d05842d..15c42b1c0f74cb9f6ad2e960a4cb1ce09eec9d87 100644 (file)
@@ -89,11 +89,11 @@ AC_ARG_WITH([python3],
        [],
        [with_python3=no])
 AS_IF([test "x$with_python3" != xno],
-        AC_CHECK_PROGS([PYTHON], [python3.3], [none])
+        AC_CHECK_PROGS([PYTHON], [python3], [none])
         AC_SUBST([USE_PYTHON3], [true])
        AS_IF([test "x$PYTHON" = xnone],
               [AC_MSG_FAILURE(
-               [--with-python3 given but no acceptable python3 (3.3) could be found])]),
+               [--with-python3 given but no acceptable python3 could be found])]),
       AC_CHECK_PROGS([PYTHON], [python2.7], [none])
       AC_SUBST([USE_PYTHON3], [false])
       AS_IF([test "x$PYTHON" = xnone],