From 4ae77531527f223263d640df068d24510fd62589 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Tue, 5 Apr 2022 18:48:55 +0200 Subject: [PATCH] Added support of python 3.10 --- varnish-legacy.m4 | 4 ++-- varnish.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/varnish-legacy.m4 b/varnish-legacy.m4 index e4ba1b9cead..54ef0048295 100644 --- a/varnish-legacy.m4 +++ b/varnish-legacy.m4 @@ -100,8 +100,8 @@ AC_SUBST([VMOD_DIR]) AC_DEFUN([VARNISH_VMODTOOL], [ -AC_CHECK_PROGS(PYTHON, [python3.9 python3.8 python3.7 python3.6 python3.5 dnl - python3.4 python3 python, "no"]) +AC_CHECK_PROGS(PYTHON, [python3.10 python3.9 python3.8 python3.7 python3.6 dnl + python3.5 python3.4 python3 python, "no"]) if test "x$PYTHON" = "xno"; then AC_MSG_ERROR([Python >= 3.4 is needed to build, please install python.]) fi diff --git a/varnish.m4 b/varnish.m4 index abd8dfc784d..cdf0392bf0c 100644 --- a/varnish.m4 +++ b/varnish.m4 @@ -125,8 +125,8 @@ AC_DEFUN([_VARNISH_CHECK_DEVEL], [ # --------------------- AC_DEFUN([_VARNISH_CHECK_PYTHON], [ m4_define_default([_AM_PYTHON_INTERPRETER_LIST], - [python3.9 python3.8 python3.7 python3.6 python3.5 dnl - python3.4 python3 python]) + [python3.10 python3.9 python3.8 python3.7 python3.6 dnl + python3.5 python3.4 python3 python]) AM_PATH_PYTHON([3.4], [], [ AC_MSG_ERROR([Python >= 3.4 is required.]) ])