X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=810e1f19dc51ec35482b200d6fb723f5bd0d80de;hp=5cfe9731584b11e23b35a1d19934148611b67ad8;hb=707de922fab70af1b4238c33359b77d1ebd1ee34;hpb=395d6b02dda3db1acd08936f49c1dc8efc48e613 diff --git a/configure.ac b/configure.ac index 5cfe97315..810e1f19d 100644 --- a/configure.ac +++ b/configure.ac @@ -369,6 +369,8 @@ PKG_CHECK_MODULES([UUID], [uuid], AM_CONDITIONAL([LTTNG_BUILD_WITH_LIBUUID], [test "x$link_with_libuuid" = "xyes"]) AM_CONDITIONAL([LTTNG_BUILD_WITH_LIBC_UUID], [test "x$link_with_libc_uuid" = "xyes"]) +AC_CHECK_FUNC([clock_gettime], [AC_DEFINE_UNQUOTED([LTTNG_HAVE_CLOCK_GETTIME], 1, [Has clock_gettime() support.])]) + # URCU library version needed or newer m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.8.0 is needed])