mcst-linux-kernel/patches-2024.06.26/automake-1.15.1/0007-fix-for-newerpython.patch

26 lines
997 B
Diff

From: Bastien Roucariès <rouca@debian.org>
Date: Sat, 16 Sep 2017 18:05:15 -0400
Subject: Fix automake for newer python
Fix automake for newer python version
forwarded: yes, bug-automake@gnu.org
bug-debian: https://bugs.debian.org/872052
---
m4/python.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/python.m4 b/m4/python.m4
index 6d9e934..7334ec9 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -38,7 +38,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl supported. (2.0 was released on October 16, 2000).
dnl FIXME: Remove the need to hard-code Python versions here.
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
-[python python2 python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
+[python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
AC_ARG_VAR([PYTHON], [the Python interpreter])