From 59533bfdf0c1ab64977abfe5e11aea99c14b3339 Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Tue, 9 Apr 2013 22:07:46 -0400 Subject: [PATCH] Add a failure if libbabeltrace-ctf is not detected Signed-off-by: Yannick Brosseau --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.34.1