Commit 57c1d53e authored by Federico G. Schwindt's avatar Federico G. Schwindt

python 3 takes priority over python 2

This was the original intent but got lost in autoconf translation.
parent 146fbcd8
......@@ -130,10 +130,12 @@ AC_DEFUN([_VARNISH_CHECK_DEVEL], [
# ---------------------
AC_DEFUN([_VARNISH_CHECK_PYTHON], [
AM_PATH_PYTHON([2.7], [], [
AC_PATH_PROGS(PYTHON, [python3.7 python3.6 python3.5 python3.4 python2.7 python3 python2 python], [
AC_MSG_ERROR([no suitable Python interpreter found])
])
AM_PYTHON_CHECK_VERSION([$PYTHON], [2.7], [], [
AC_MSG_ERROR([Python >= 2.7 is required.])
])
])
# _VARNISH_VMOD_LDFLAGS
......
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