]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2467] Require at least Python 3.0
authorSlawek Figiel <slawek@isc.org>
Wed, 28 Jun 2023 17:26:03 +0000 (19:26 +0200)
committerSlawek Figiel <slawek@isc.org>
Thu, 29 Jun 2023 11:44:29 +0000 (13:44 +0200)
configure.ac

index 23612e5ac4a041bcfc385de9237f1474c564161a..84c33489c0eb4c979bf5a13831c77d90f13e8c6b 100644 (file)
@@ -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,