summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-05-16 20:01:25 +0200
committerChristian Göttsche <cgzones@googlemail.com>2021-05-16 20:01:25 +0200
commit69cfaf238101c8d701176f734ad0371f4839972c (patch)
tree3f2660c323a3c3fe5e2d1284c3ccb8b3ad8dae4b /configure.ac
parentd2ee40597c6a76ea5da8cc30e52703ba40995d62 (diff)
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"
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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], [

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