diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-20 18:21:25 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-12-20 18:22:41 +0100 |
commit | 8db8b9edacdc4118adfcf0e1982ad5047db9b7c2 (patch) | |
tree | 8566cdc441bd1d22495ab91df6ed97dfe0b3d56b /configure.ac | |
parent | 4a73e803389abf92018252411ebbb2f2d1661aab (diff) |
DragonFlyBSD update
- drop unused kinfo includes and link argument
- detect kvm library necessity at configure step
- fix variable typo
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 f303ff03..8b68c8e9 100644 --- a/configure.ac +++ b/configure.ac @@ -247,6 +247,10 @@ if test "$my_htop_platform" = "darwin"; then AC_CHECK_FUNCS([mach_timebase_info]) fi +if test "$my_htop_platform" = "dragonflybsd"; then + AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"]) +fi + if test "$my_htop_platform" = "freebsd"; then AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"]) fi |