From fdcdc54ec45d4512ec8ad9524362e808d1928569 Mon Sep 17 00:00:00 2001 From: nia Date: Mon, 26 Jul 2021 19:04:44 +0200 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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 -- cgit v1.2.3