summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGraham Inggs <ginggs@debian.org>2021-03-18 14:03:51 +0200
committerGitHub <noreply@github.com>2021-03-18 14:03:51 +0200
commitee97916fd530c82b8747bd90b7d1b98e92f858ae (patch)
tree6b2190f138fbeb946ef8c9bd5a49e77e55e9410d /configure.ac
parent1ba3915f73e019fe9fd94e53794137060fbf8c66 (diff)
parentfd2a0cf4219ac6b000e3ef46e1958edd2ff41a67 (diff)
Merge pull request #436 from cgzones/freebsd
FreeBSD: add support for CPU frequency and temperature Tested on two physical systems running FreeBSD 12.1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b1eddbe7..a1a57578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
# ----------------------------------------------------------------------

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