mirror of https://github.com/xzeldon/htop.git
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"
This commit is contained in:
parent
d2ee40597c
commit
69cfaf2381
|
@ -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], [
|
||||
|
|
Loading…
Reference in New Issue