projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove calibrate from liblttng-ctl
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index aa4220de70739608db734aa7b87d2e991386d941..ab72dbe5e4f1d2807b6b3ffcd846a453d4e59dbe 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-127,6
+127,10
@@
AC_CHECK_FUNCS([ \
strtoull dirfd gethostbyname2 getipnodebyname epoll_create1 \
])
strtoull dirfd gethostbyname2 getipnodebyname epoll_create1 \
])
+# Check if clock_gettime, timer_create, timer_settime, and timer_delete are available in lib rt, and if so,
+# add -lrt to LIBS
+AC_CHECK_LIB([rt], [clock_gettime, timer_create, timer_settime, timer_delete])
+
# Babeltrace viewer check
AC_ARG_WITH([babeltrace-bin],
AS_HELP_STRING([--with-babeltrace-bin],
# Babeltrace viewer check
AC_ARG_WITH([babeltrace-bin],
AS_HELP_STRING([--with-babeltrace-bin],
@@
-320,7
+324,7
@@
PKG_CHECK_MODULES([POPT], [popt],
]
)
]
)
-
AM_PATH_XML2(2.7.6, true, AC_MSG_ERROR(No supported version of libxml2 found.)
)
+
PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7.6]
)
# Check for uuid in system libs
AC_CHECK_FUNCS([uuid_generate],
# Check for uuid in system libs
AC_CHECK_FUNCS([uuid_generate],
@@
-365,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"])
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])
# URCU library version needed or newer
m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.8.0 is needed])
@@
-986,6
+992,7
@@
AC_CONFIG_FILES([
tests/regression/tools/live/Makefile
tests/regression/tools/exclusion/Makefile
tests/regression/tools/save-load/Makefile
tests/regression/tools/live/Makefile
tests/regression/tools/exclusion/Makefile
tests/regression/tools/save-load/Makefile
+ tests/regression/tools/save-load/configuration/Makefile
tests/regression/tools/mi/Makefile
tests/regression/tools/wildcard/Makefile
tests/regression/tools/crash/Makefile
tests/regression/tools/mi/Makefile
tests/regression/tools/wildcard/Makefile
tests/regression/tools/crash/Makefile
This page took
0.02322 seconds
and
4
git commands to generate.