Convert LTTngTop to C++ and state system
[lttngtop.git] / configure.ac
index d38cefbeec235d04e5e54df219e56cb36b557ba0..6eb66610a8821073d837b27c17b64190305ad248 100644 (file)
@@ -14,6 +14,7 @@ AC_CONFIG_HEADERS([config.h])
 
 # Checks for programs.
 AC_PROG_CC
+AC_PROG_CXX
 AC_PROG_MAKE_SET
 LT_INIT
 AC_PROG_YACC
@@ -50,6 +51,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.
@@ -66,6 +77,7 @@ AC_SUBST(PACKAGE_CFLAGS)
 
 AC_CONFIG_FILES([
        Makefile
-       lttngtop/Makefile
+       src/Makefile
+       doc/Makefile
 ])
 AC_OUTPUT
This page took 0.02248 seconds and 4 git commands to generate.