X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=1ea435fc0a8ee7ed8d81e8bcb261e1a850234d5f;hb=d9bf54d4556d8df769e904427ac1a17087855b78;hp=c662381720f5dfb689020a908d6efc0f9893c9f8;hpb=02f8da13d233fe036df3f5b84e7371e1a2ac7afb;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index c6623817..1ea435fc 100644 --- a/configure.ac +++ b/configure.ac @@ -424,6 +424,7 @@ 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]) @@ -434,6 +435,8 @@ AS_IF([test "x$python_agent" = "xyes"], [ ]) ]) +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]])