From 69cfaf238101c8d701176f734ad0371f4839972c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 16 May 2021 20:01:25 +0200 Subject: [PATCH] configure: ignore warning about delay accounting on non-Linux platform If pkg-config is not installed the following message gets printed, even on non Linux platform: "Linux delay accounting support can not be enabled, cause pkg-config is required for checking its availability" --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a1a57578..d75422d8 100644 --- a/configure.ac +++ b/configure.ac @@ -445,7 +445,9 @@ case "$enable_delayacct" in no) ;; check) - if test "$enable_static" = yes; then + if test "$my_htop_platform" != linux; then + enable_delayacct=no + elif test "$enable_static" = yes; then enable_delayacct=no else m4_ifdef([PKG_PROG_PKG_CONFIG], [