From d58180bdac59800df47e182555e3a1f68358cddd Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 13 Sep 2022 12:14:40 +1000 Subject: Use pmLookupDescs(3) function if available from libpcp This is a relative new, single-round-trip variant of the pmLookupDesc(3) function for metric descriptors lookup. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cf1f888b..53163366 100644 --- a/configure.ac +++ b/configure.ac @@ -266,6 +266,10 @@ if test "$my_htop_platform" = darwin; then AC_CHECK_FUNCS([mach_timebase_info]) fi +if test "$my_htop_platform" = pcp; then + AC_CHECK_FUNCS([pmLookupDescs]) +fi + if test "$my_htop_platform" = linux && test "x$enable_static" = xyes; then AC_CHECK_LIB([systemd], [sd_bus_open_system]) fi -- cgit v1.2.3