From 426f7746a745d4078a5506942ec4ff03a50f1005 Mon Sep 17 00:00:00 2001 From: Sebastien Godard Date: Wed, 22 Sep 2010 20:20:42 +0200 Subject: [PATCH] Fixed configure's --disable-man-group option. Mail from Ivana Varekova (21/09/2010): Using --disable-man-group option with configure resulted in man_group variable being used. With --enable-man-group, the variable was ignored, which is the opposite of what is expected. This patch fixes that. --- CHANGES | 1 + configure | 5 +++-- configure.in | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 6ace908..b3e1783 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,7 @@ xxxx/xx/xx: Version 9.1.6 - Sebastien Godard (sysstat orange.fr) * Added hugepages utilization statistics to sar. * [Ivana Varekova]: Moved manual pages to $prefix/share/man instead of $prefix/man. + * [Ivana Varekova]: Fixed configure's --disable-man-group option. * sar manual page updated. * DTD and XSD documents updated. * Made sysstat git aware. diff --git a/configure b/configure index 8bf0d8c..0baebb9 100755 --- a/configure +++ b/configure @@ -7558,14 +7558,15 @@ $as_echo_n "checking whether man_group variable should be ignored... " >&6; } if test "${enable_man_group+set}" = set; then enableval=$enable_man_group; AUX_IMG=$enableval else - AUX_IMG=no + AUX_IMG=yes fi -if test $AUX_IMG != "yes"; then +if test $AUX_IMG != "no"; then IGNORE_MAN_GROUP=n AUX_IMG=no else IGNORE_MAN_GROUP=y + AUX_IMG=yes fi { $as_echo "$as_me:$LINENO: result: $AUX_IMG" >&5 $as_echo "$AUX_IMG" >&6; } diff --git a/configure.in b/configure.in index b5b4692..0b2febb 100644 --- a/configure.in +++ b/configure.in @@ -331,12 +331,13 @@ AC_MSG_CHECKING(whether man_group variable should be ignored) AC_ARG_ENABLE(man-group, AC_HELP_STRING([--disable-man-group], [ignore man_group variable value]), - AUX_IMG=$enableval,AUX_IMG=no) -if test $AUX_IMG != "yes"; then + AUX_IMG=$enableval,AUX_IMG=yes) +if test $AUX_IMG != "no"; then IGNORE_MAN_GROUP=n AUX_IMG=no else IGNORE_MAN_GROUP=y + AUX_IMG=yes fi AC_MSG_RESULT($AUX_IMG) AC_SUBST(IGNORE_MAN_GROUP) -- 2.40.0