diff options
author | Nathan Scott <nathans@redhat.com> | 2022-09-13 12:14:40 +1000 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2022-09-14 09:13:07 +0200 |
commit | d58180bdac59800df47e182555e3a1f68358cddd (patch) | |
tree | deb1280f961c8abefc33b0f5e43c227d2aa848d0 /configure.ac | |
parent | 5552dc9c668908939493bf04f904a2e454ef1d51 (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.ac | 4 |
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 |