Fix: libc wrapper: use initial-exec for malloc_nesting TLS
[lttng-ust.git] / configure.ac
index 4733ed8619293aa86eefd9f84050d1fe3da43ebf..ee9141d967747bbf8e1f1a11a7a99f2f1d839a21 100644 (file)
@@ -1,7 +1,7 @@
 dnl Version infos
 m4_define([V_MAJOR], [2])
 m4_define([V_MINOR], [12])
-m4_define([V_PATCH], [7])
+m4_define([V_PATCH], [9])
 dnl m4_define([V_EXTRA], [])
 m4_define([V_NAME], [[(Ta) Meilleure]])
 m4_define([V_DESC], [[Ta Meilleure is a Northeast IPA beer brewed by Lagabière. Translating to "Your best one", this beer gives out strong aromas of passion fruit, lemon, and peaches. Tastewise, expect a lot of fruit, a creamy texture, and a smooth lingering hop bitterness.]])
@@ -422,8 +422,21 @@ AS_HELP_STRING([--enable-python-agent], [build the LTTng UST Python agent [defau
 AM_CONDITIONAL([BUILD_PYTHON_AGENT], [test "x$python_agent" = "xyes"])
 AS_IF([test "x$python_agent" = "xyes"], [
        AM_PATH_PYTHON([2.7])
+
+       AX_COMPARE_VERSION(["$PYTHON_VERSION"], [ge], ["3.12"], [
+         have_python_312_or_greater=yes
+         AC_MSG_CHECKING([for python setuptools])
+         AS_IF(["$PYTHON" -c "import setuptools" 2>/dev/null], [
+           AC_MSG_RESULT([yes])
+         ], [
+           AC_MSG_RESULT([no])
+           AC_MSG_ERROR([Python >= 3.12 removed 'distutils', the 'setuptools' module needs to be installed for the selected interpreter.])
+         ])
+       ])
 ])
 
+AM_CONDITIONAL([HAVE_PYTHON_312_OR_GREATER], [test "x$have_python_312_or_greater" = "xyes"])
+
 # sdt.h integration
 AC_ARG_WITH([sdt], [
 AS_HELP_STRING([--with-sdt], [provide SystemTap integration via sdt.h [default=no]])
This page took 0.023303 seconds and 4 git commands to generate.