X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=configure.ac;h=ed625263b410332eba23ed1ad45be14de1c89e2c;hb=8f11f9f6903dd865f4394caa0ff625d1bb64e093;hp=c7dd21ec34bd685d0548c7a1e320c6cdb446fa4a;hpb=ab7f41031f9e2c92cb0d22062b0339e4d14a7ac2;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index c7dd21ec3..ed625263b 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,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 ]] +) + # Check liburcu needed function calls AC_CHECK_DECL([cds_list_add], [], [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] @@ -69,6 +74,7 @@ AC_SUBST(DEFAULT_INCLUDES) AC_CONFIG_FILES([ Makefile include/Makefile + benchmark/Makefile libkernelctl/Makefile liblttngkconsumerd/Makefile liblttngctl/Makefile