Skip to content

Commit

Permalink
Added support of python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
catap authored and nigoroll committed Apr 6, 2022
1 parent c13343c commit 4ae7753
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions varnish-legacy.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions varnish.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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.])
])
Expand Down

0 comments on commit 4ae7753

Please sign in to comment.