Don't compile the sync directory
[lttv.git] / configure.ac
index abca150442e141bb704d4b60cfea905df44dbee7..be3f06edbb8875975d4b3bad1b1436d28f68e428 100644 (file)
@@ -109,7 +109,16 @@ PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
 pkg_modules="gobject-2.0 >= 2.0.0"
 PKG_CHECK_MODULES(GOBJECT, [$pkg_modules])
 
-PKG_CHECK_MODULES(BABELTRACE, [babeltrace >= 1.0.0])
+PKG_CHECK_MODULES(BABELTRACE, [babeltrace >= 1.1.0], [], 
+                             [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.])]
+             )
+])
 
 AC_CHECK_LIB([babeltrace], [bt_iter_equals_pos], 
                           [AC_DEFINE([HAVE_BT_ITER_EQUALS_POS],[],[Have equal function])], [])
@@ -176,7 +185,6 @@ AC_SUBST(lttctlincludedir)
 AC_CONFIG_FILES([Makefile
        lttv/Makefile
        lttv/lttv/Makefile
-       lttv/lttv/sync/Makefile
        lttv/modules/Makefile
        lttv/modules/text/Makefile
        lttv/modules/gui/Makefile
@@ -196,6 +204,7 @@ AC_CONFIG_FILES([Makefile
        doc/user/user_guide/Makefile
        doc/user/user_guide/docbook/Makefile
        doc/user/user_guide/html/Makefile])
+#      lttv/lttv/sync/Makefile
 #      lttv/modules/gui/interrupts/Makefile
 #      lttv/modules/gui/statistics/Makefile
 #      lttv/modules/gui/filter/Makefile
This page took 0.022453 seconds and 4 git commands to generate.