summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2021-07-26 19:04:44 +0200
committerBenBE <BenBE@geshi.org>2021-08-05 10:47:14 +0200
commitfdcdc54ec45d4512ec8ad9524362e808d1928569 (patch)
tree5910483330411c26b8cfe7ca1654a2cd9a1265f5 /configure.ac
parent2e3f34f5c1f7cff7621fa453e2315b3af62554e7 (diff)
netbsd: Add battery support
This uses proplib and sysmon_envsys to determine the total charge percentage of any number of connected batteries as well as the AC adapter state. Should work with ACPI and non-ACPI systems.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1c83c28e..99915cce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,6 +216,7 @@ fi
if test "$my_htop_platform" = netbsd; then
AC_SEARCH_LIBS([kvm_open], [kvm], [], [AC_MSG_ERROR([can not find required function kvm_open()])])
+ AC_SEARCH_LIBS([prop_dictionary_get], [prop], [], [AC_MSG_ERROR([can not find required function prop_dictionary_get()])])
fi
if test "$my_htop_platform" = openbsd; then

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