Add a failure if libbabeltrace-ctf is not detected
authorYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 10 Apr 2013 02:07:46 +0000 (22:07 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 10 Apr 2013 02:07:46 +0000 (22:07 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
configure.ac

index 5d79fb57cbe6d9083c35b2b30f7bffa5ae4d6762..23430881d2594df61a9f5b65538c215de4a3dd83 100644 (file)
@@ -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"
This page took 0.025182 seconds and 4 git commands to generate.