X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=e4084aed308d7ab1b7ec341a8b5f9955be1ccaba;hb=23bae352fa0d6626a022412dcba8eecb2373f3be;hp=f5e4c366ab30450000304968667bf7ab484c5ed2;hpb=fb89d070c1d33c6d28ff724c73ea70b6a78a0709;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index f5e4c366a..e4084aed3 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,11 @@ AC_CHECK_LIB([popt], [poptGetContext], [], [AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])] ) +# Needed for benchmark time +AC_CHECK_DECL([caa_get_cycles], [], + [AC_MSG_ERROR([liburcu liburcu_version or newer is needed])], [[#include ]] +) + # URCU library version needed or newer liburcu_version=">= 0.6.6" @@ -132,6 +137,7 @@ AC_SUBST(DEFAULT_INCLUDES) AC_CONFIG_FILES([ Makefile include/Makefile + benchmark/Makefile libkernelctl/Makefile liblttng-consumer/Makefile liblttng-kconsumer/Makefile