diff options
author | Daniel Lange <DLange@git.local> | 2021-08-14 10:35:11 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-08-14 10:44:31 +0200 |
commit | fc2377f0525badb11e0d1e04dd31a53769855229 (patch) | |
tree | ceca172039dbc0a541bf5faf52b5388408cedaa5 /configure.ac | |
parent | dd91e9a9dabf6e61bd550eac33688f78d9da8320 (diff) |
Build pcp-htop.5 only when --enable-pcp
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9d31fd50..8e7774f2 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |