From: Francis Deslauriers Date: Fri, 26 May 2017 13:20:41 +0000 (-0400) Subject: Set the minimum Python version to 3.0 X-Git-Tag: v1.5.3~10 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=3d74c991b04a9864b97813c6250ecca0b8bac34f Set the minimum Python version to 3.0 Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index c8e9b983..5b32e26d 100644 --- a/configure.ac +++ b/configure.ac @@ -240,7 +240,7 @@ AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes]) if test "x${enable_python:-yes}" = xyes; then AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) - AM_PATH_PYTHON + AM_PATH_PYTHON([3.0], [], [ AC_MSG_ERROR([Python 3.0 or newer is needed]) ]) AM_PATH_PYTHON_MODULES([PYTHON]) # pythondir is the path where extra modules are to be installed