Commit 4ae77531 authored by Kirill A. Korinsky's avatar Kirill A. Korinsky Committed by Nils Goroll

Added support of python 3.10

parent c13343cf
...@@ -100,8 +100,8 @@ AC_SUBST([VMOD_DIR]) ...@@ -100,8 +100,8 @@ AC_SUBST([VMOD_DIR])
AC_DEFUN([VARNISH_VMODTOOL], AC_DEFUN([VARNISH_VMODTOOL],
[ [
AC_CHECK_PROGS(PYTHON, [python3.9 python3.8 python3.7 python3.6 python3.5 dnl AC_CHECK_PROGS(PYTHON, [python3.10 python3.9 python3.8 python3.7 python3.6 dnl
python3.4 python3 python, "no"]) python3.5 python3.4 python3 python, "no"])
if test "x$PYTHON" = "xno"; then if test "x$PYTHON" = "xno"; then
AC_MSG_ERROR([Python >= 3.4 is needed to build, please install python.]) AC_MSG_ERROR([Python >= 3.4 is needed to build, please install python.])
fi fi
......
...@@ -125,8 +125,8 @@ AC_DEFUN([_VARNISH_CHECK_DEVEL], [ ...@@ -125,8 +125,8 @@ AC_DEFUN([_VARNISH_CHECK_DEVEL], [
# --------------------- # ---------------------
AC_DEFUN([_VARNISH_CHECK_PYTHON], [ AC_DEFUN([_VARNISH_CHECK_PYTHON], [
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
[python3.9 python3.8 python3.7 python3.6 python3.5 dnl [python3.10 python3.9 python3.8 python3.7 python3.6 dnl
python3.4 python3 python]) python3.5 python3.4 python3 python])
AM_PATH_PYTHON([3.4], [], [ AM_PATH_PYTHON([3.4], [], [
AC_MSG_ERROR([Python >= 3.4 is required.]) AC_MSG_ERROR([Python >= 3.4 is required.])
]) ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment