Ticket #5072: 0001-Do-not-require-python3.3-explicitely.patch

File 0001-Do-not-require-python3.3-explicitely.patch, 1.1 KB (added by Boris Bobrov, 8 years ago)
  • configure.ac

    From 50a7dd8d244e1bb2e819ed727ff02b7fb86b1807 Mon Sep 17 00:00:00 2001
    From: Boris Bobrov <breton@cynicmansion.ru>
    Date: Thu, 7 Jan 2016 18:28:52 +0300
    Subject: [PATCH] Do not require python3.3 explicitely
    
    It's easier to say "use python3.3+" rather than prevent usage of earlier
    versions programmatically in autoconf.
    ---
     configure.ac | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/configure.ac b/configure.ac
    index a2a8a56..15c42b1 100644
    a b AC_ARG_WITH([python3],  
    8989        [],
    9090        [with_python3=no])
    9191AS_IF([test "x$with_python3" != xno],
    92         AC_CHECK_PROGS([PYTHON], [python3.3], [none])
     92        AC_CHECK_PROGS([PYTHON], [python3], [none])
    9393        AC_SUBST([USE_PYTHON3], [true])
    9494        AS_IF([test "x$PYTHON" = xnone],
    9595              [AC_MSG_FAILURE(
    96                 [--with-python3 given but no acceptable python3 (3.3) could be found])]),
     96                [--with-python3 given but no acceptable python3 could be found])]),
    9797      AC_CHECK_PROGS([PYTHON], [python2.7], [none])
    9898      AC_SUBST([USE_PYTHON3], [false])
    9999      AS_IF([test "x$PYTHON" = xnone],