X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=b479c7350eafaaeb1d189ab80aaa64613eea0999;hp=836ff15b8e562bd2cb2738e43e6ce8fc84c6d386;hb=9f2636716abf0d6cc188fed380ba77a621a370c1;hpb=7e547df6a875230134157556398e767574a3da69 diff --git a/configure.ac b/configure.ac index 836ff15b8..b479c7350 100644 --- a/configure.ac +++ b/configure.ac @@ -1139,6 +1139,13 @@ test "x$enable_bin_lttng_sessiond" != "xno"], ) AM_CONDITIONAL([BUILD_TESTS], [test x$build_tests = xyes]) + +AS_IF([test "x$build_tests" = "xyes"], + [ + PKG_CHECK_MODULES([babeltrace2], [babeltrace2]) + ] +) + AM_CONDITIONAL([BUILD_EXTRAS], [test x$enable_extras != xno]) # Export libraries build conditions. @@ -1290,6 +1297,9 @@ AC_CONFIG_FILES([ tests/unit/ini_config/Makefile tests/perf/Makefile tests/utils/Makefile + tests/utils/bt2_plugins/Makefile + tests/utils/bt2_plugins/event_name/Makefile + tests/utils/bt2_plugins/field_stats/Makefile tests/utils/lttngtest/Makefile tests/utils/tap/Makefile tests/utils/testapp/Makefile