From: Slawek Figiel Date: Wed, 28 Jun 2023 17:26:03 +0000 (+0200) Subject: [#2467] Require at least Python 3.0 X-Git-Tag: Kea-2.4.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19ad2f7605f944b629fc004d0f69d65829f26e2;p=thirdparty%2Fkea.git [#2467] Require at least Python 3.0 --- 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,