Skip to content

Commit 69cfaf2

Browse files
committed
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"
1 parent d2ee405 commit 69cfaf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

+3-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ case "$enable_delayacct" in
445445
no)
446446
;;
447447
check)
448-
if test "$enable_static" = yes; then
448+
if test "$my_htop_platform" != linux; then
449+
enable_delayacct=no
450+
elif test "$enable_static" = yes; then
449451
enable_delayacct=no
450452
else
451453
m4_ifdef([PKG_PROG_PKG_CONFIG], [

0 commit comments

Comments
 (0)