Skip to content
Snippets Groups Projects
Commit 67fa5a34 authored by Olivier Dion's avatar Olivier Dion
Browse files

configure.ac: Add LTTng tracepoints feature

Change-Id: I192ff24448a6454c8d504febd7ab2df2ccf88272
parent 95ec0842
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,11 @@ AC_ARG_ENABLE([agent],
AM_CONDITIONAL([ENABLE_AGENT], [test "x$enable_agent" = "xyes"])
AM_COND_IF([ENABLE_AGENT], [AC_CONFIG_FILES([test/agent/Makefile])])
AC_ARG_ENABLE([tracepoints], AS_HELP_STRING([--enable-tracepoints], [Enable tracepoints]))
AM_CONDITIONAL([ENABLE_TRACEPOINTS], [test "x$enable_tracepoints" = "xyes"])
dnl Check for programs
AC_PROG_CC
AC_PROG_CXX
......@@ -613,6 +618,11 @@ AC_DEFINE_UNQUOTED([HAVE_SHM],
`if test "x$with_dbus" == xyes; then echo 1; else echo 0; fi`,
[Define if you have shared memory support])
# LTTNG
AM_COND_IF([ENABLE_TRACEPOINTS],
[PKG_CHECK_MODULES(LTTNG, [lttng-ust >= 2.13],, AC_MSG_ERROR([Missing lttng-ust]))
PKG_CHECK_MODULES(LIBURCU, [liburcu >= 0.13.1],, AC_MSG_ERROR([Missng liburcu]))])
# DOXYGEN
# required dependency(ies): doxygen
# check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment