diff options
author | Slawek Figiel <slawek@isc.org> | 2023-06-28 19:26:03 +0200 |
---|---|---|
committer | Slawek Figiel <slawek@isc.org> | 2023-06-29 13:44:29 +0200 |
commit | c19ad2f7605f944b629fc004d0f69d65829f26e2 (patch) | |
tree | 8bd636e2a1ac5094fe9fab7702cdceeacb9b4668 /configure.ac | |
parent | [#2467] Use an error rather than a warning (diff) | |
download | kea-c19ad2f7605f944b629fc004d0f69d65829f26e2.tar.xz kea-c19ad2f7605f944b629fc004d0f69d65829f26e2.zip |
[#2467] Require at least Python 3.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files 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, |