X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=configure.ac;h=0b67fc9dd5b7699e2634ca1c08205ebb613109e2;hp=d38cefbeec235d04e5e54df219e56cb36b557ba0;hb=69362330631ab42f9fa2a949ceeed334ae50a6a6;hpb=1fc22eb45fde328b82aa5a5e296fdc086e77a32e diff --git a/configure.ac b/configure.ac index d38cefb..0b67fc9 100644 --- a/configure.ac +++ b/configure.ac @@ -50,6 +50,16 @@ AC_CHECK_LIB([panel], [update_panels], [], [AC_MSG_ERROR([Cannot find the the ncurses library.])] ) +# Check for libbabeltrace +AC_CHECK_LIB([babeltrace], [bt_context_create], [], + [AC_MSG_ERROR([Cannot find the babeltrace library.])] + ) + +# Check for libbabeltrace-ctf +AC_CHECK_LIB([babeltrace-ctf], [bt_ctf_iter_create], [], + [AC_MSG_ERROR([Cannot find the babeltrace-ctf library.])] + ) + # Check for Glib. It needs to be installed anyway or this macro will not be defined. AM_PATH_GLIB_2_0([2.22.0], [], [AC_MSG_ERROR([Glib 2.22 is required in order to compile LTTngTop. @@ -66,6 +76,6 @@ AC_SUBST(PACKAGE_CFLAGS) AC_CONFIG_FILES([ Makefile - lttngtop/Makefile + src/Makefile ]) AC_OUTPUT