[master] c29596ded Try platform default "python3" before looking for specific versions

Poul-Henning Kamp phk at FreeBSD.org
Mon May 13 07:32:04 UTC 2024


commit c29596ded371cf3fecb2c330166351be77c1dba3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 13 07:31:10 2024 +0000

    Try platform default "python3" before looking for specific versions

diff --git a/varnish.m4 b/varnish.m4
index 83d80f2c9..a816db451 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.10 python3.9 python3.8 python3.7 python3.6 dnl
-		python3.5 python3.4 python3 python])
+		[python3 python3.10 python3.9 python3.8 python3.7 python3.6 dnl
+		python3.5 python3.4 python])
 	AM_PATH_PYTHON([3.4], [], [
 		AC_MSG_ERROR([Python >= 3.4 is required.])
 	])


More information about the varnish-commit mailing list