1From 84c389705e7742d2b68e144a5733e618441d293e Mon Sep 17 00:00:00 2001 2From: Hongxu Jia <hongxu.jia@windriver.com> 3Date: Fri, 10 May 2019 16:19:54 +0800 4Subject: [PATCH] do not auto check var-PYTHON 5 6Upstream auto check the version of python rather than specify option 7[ff6ff61 python: Auto-check for all installed python versions.] 8 9In oe-core, don't check var-PYTHON, use the setting from recipe, 10only check specific python 2.7 and 3.7 11 12Upstream-Status: Inappropriate [oe-core specific] 13 14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 15 16--- 17 configure.ac | 5 ++--- 18 1 file changed, 2 insertions(+), 3 deletions(-) 19 20diff --git a/configure.ac b/configure.ac 21index df892c9..8c6194e 100644 22--- a/configure.ac 23+++ b/configure.ac 24@@ -590,9 +590,8 @@ if test "$found_py" = "1"; then 25 if test "$found_py" = "1" -o "$found_py3" = "1"; then 26 # Reset everything, so that we can look for another Python. 27 m4_foreach([mym4pythonver], 28- [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10], 29- [3.11],[3.12],[all]], 30- [unset PYTHON 31+ [[2.7],[3.7]], 32+ [ 33 unset PYTHON_VERSION 34 unset PYTHON_CPPFLAGS 35 unset PYTHON_LDFLAGS 36