From: Julien Desfossez Date: Fri, 24 Feb 2012 03:25:14 +0000 (-0500) Subject: Configure check for libbabeltrace X-Git-Tag: v0.2~58 X-Git-Url: http://git.lttng.org/?p=lttngtop.git;a=commitdiff_plain;h=74ab85b4dfbf35876669c2b10b9cf125c0c9ccff Configure check for libbabeltrace Fixes #102 Signed-off-by: Julien Desfossez --- diff --git a/configure.ac b/configure.ac index 495a5e0..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.