From: Yannick Brosseau Date: Wed, 10 Apr 2013 02:07:46 +0000 (-0400) Subject: Add a failure if libbabeltrace-ctf is not detected X-Git-Tag: v1.5-beta1~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=59533bfdf0c1ab64977abfe5e11aea99c14b3339;p=lttv.git Add a failure if libbabeltrace-ctf is not detected Signed-off-by: Yannick Brosseau --- diff --git a/configure.ac b/configure.ac index 5d79fb57..23430881 100644 --- a/configure.ac +++ b/configure.ac @@ -115,7 +115,7 @@ AC_CHECK_LIB([babeltrace], [bt_iter_equals_pos], [AC_DEFINE([HAVE_BT_ITER_EQUALS_POS],[],[Have equal function])], []) AC_CHECK_LIB([babeltrace-ctf], [bt_ctf_event_name], - [], []) + [], [AC_MSG_ERROR([libbabeltrace-ctf is required in order to compile LTTV])]) LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS $BABELTRACE_LIBS" PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat-security"