mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Build pcp-htop.5 only when --enable-pcp
This commit is contained in:
parent
dd91e9a9da
commit
fc2377f052
@ -116,6 +116,7 @@ case "$enable_pcp" in
|
||||
[AC_MSG_ERROR([can not find PCP header file])])
|
||||
AC_SEARCH_LIBS([pmNewContext], [pcp], [], [AC_MSG_ERROR([can not find PCP library])])
|
||||
AC_DEFINE([HTOP_PCP], [1], [Define if building pcp-htop binary.])
|
||||
AC_CONFIG_FILES([pcp-htop.5])
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([bad value '$enable_pcp' for --enable-pcp option])
|
||||
@ -681,7 +682,7 @@ AM_CONDITIONAL([HTOP_PCP], [test "$my_htop_platform" = pcp])
|
||||
AM_CONDITIONAL([HTOP_UNSUPPORTED], [test "$my_htop_platform" = unsupported])
|
||||
|
||||
AC_SUBST(my_htop_platform)
|
||||
AC_CONFIG_FILES([Makefile htop.1 pcp-htop.5])
|
||||
AC_CONFIG_FILES([Makefile htop.1])
|
||||
AC_OUTPUT
|
||||
|
||||
if test "$my_htop_platform" = unsupported; then
|
||||
|
Loading…
Reference in New Issue
Block a user