Set the minimum Python version to 3.0
[babeltrace.git] / configure.ac
index 189387db958434cd7c89c3557c3f8b89f2b46ffc..eb3f34d026243bcc25d94883e2a84436c73fe94d 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ([2.50])
-AC_INIT([babeltrace],[1.4.0],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
+AC_INIT([babeltrace],[1.4.2],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
 AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0])
 
 AC_CONFIG_HEADERS([config.h])
@@ -176,7 +176,7 @@ AC_CHECK_FUNCS([uuid_generate],
         link_with_libc_uuid=yes
       ],
       [
-        # for MinGW32 we have our own internal implemenation of uuid using Windows functions.
+        # for MinGW32 we have our own internal implementation of uuid using Windows functions.
         if test "x$MINGW32" = xno; then
           AC_MSG_ERROR([Cannot find libuuid uuid_generate nor libc uuid_create. Use [LDFLAGS]=-Ldir to specify their location.])
         fi
@@ -233,7 +233,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
This page took 0.023614 seconds and 4 git commands to generate.