FreeBSD: add support for CPU frequency and temperature

This commit is contained in:
Christian Göttsche
2020-12-22 20:02:01 +01:00
committed by Christian Goettsche
parent 64a1ab848f
commit fd2a0cf421
8 changed files with 88 additions and 12 deletions

View File

@ -505,6 +505,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
# ----------------------------------------------------------------------