summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2022-09-13 12:14:40 +1000
committerBenBE <BenBE@geshi.org>2022-09-14 09:13:07 +0200
commitd58180bdac59800df47e182555e3a1f68358cddd (patch)
treedeb1280f961c8abefc33b0f5e43c227d2aa848d0 /configure.ac
parent5552dc9c668908939493bf04f904a2e454ef1d51 (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy