From c19ad2f7605f944b629fc004d0f69d65829f26e2 Mon Sep 17 00:00:00 2001 From: Slawek Figiel Date: Wed, 28 Jun 2023 19:26:03 +0200 Subject: [PATCH] [#2467] Require at least Python 3.0 --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 23612e5ac4..84c33489c0 100644 --- a/configure.ac +++ b/configure.ac @@ -1159,11 +1159,10 @@ if test "x$enable_shell" != xno -o "x$enable_generate_docs" != xno; then prefix=$ac_default_prefix fi - # If kea-shell is enabled, we really need python. 2.7 or anything newer will do. - # We try to find 3.x first. If not found, we can do with 2.7. + # If kea-shell is enabled, we really need python 3.x. m4_define_default([_AM_PYTHON_INTERPRETER_LIST], - [python3 python python2]) - AM_PATH_PYTHON([2.7]) + [python3 python]) + AM_PATH_PYTHON([3.0]) # Determine if the --with-site-packages flag was provided. AC_ARG_WITH(site-packages, -- 2.47.2