summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-22 20:02:01 +0100
committerChristian Goettsche <cgzones@googlemail.com>2021-02-05 16:32:25 +0100
commitfd2a0cf4219ac6b000e3ef46e1958edd2ff41a67 (patch)
tree1c556519ebb1c235f2e8954e2de25d35dd1c2582 /configure.ac
parent64a1ab848f4cba7b9dd4705a169034e39048d27d (diff)
FreeBSD: add support for CPU frequency and temperature
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 7bac0426..01a9b266 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
# ----------------------------------------------------------------------

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