From fd2a0cf4219ac6b000e3ef46e1958edd2ff41a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 22 Dec 2020 20:02:01 +0100 Subject: FreeBSD: add support for CPU frequency and temperature --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') 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 # ---------------------------------------------------------------------- -- cgit v1.2.3