mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
Merge pull request #436 from cgzones/freebsd
FreeBSD: add support for CPU frequency and temperature Tested on two physical systems running FreeBSD 12.1
This commit is contained in:
@ -509,6 +509,9 @@ case "$enable_sensors" in
|
||||
AC_MSG_ERROR([bad value '$enable_sensors' for --enable-sensors])
|
||||
;;
|
||||
esac
|
||||
if test "$enable_sensors" = yes || test "$my_htop_platform" = freebsd; then
|
||||
AC_DEFINE([BUILD_WITH_CPU_TEMP], [1], [Define if CPU temperature option should be enabled.])
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user