X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=configure.ac;h=358ead88e2443705c69a7e98003a13dba55a87b0;hp=495a5e07edefdd0dc98cd1f14607f549d7016c54;hb=eb677852b5682dc127eb431b2cabf978fdc5011a;hpb=37010c3c1a006bf7f3181a1746751c99645ad4bb diff --git a/configure.ac b/configure.ac index 495a5e0..358ead8 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. @@ -67,5 +77,6 @@ AC_SUBST(PACKAGE_CFLAGS) AC_CONFIG_FILES([ Makefile src/Makefile + doc/Makefile ]) AC_OUTPUT