mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
configure.ac: Add LTTng tracepoints feature
Change-Id: I192ff24448a6454c8d504febd7ab2df2ccf88272
This commit is contained in:
10
configure.ac
10
configure.ac
@ -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/
|
||||
|
Reference in New Issue
Block a user