]> granicus.if.org Git - sysstat/commitdiff
Fixed configure's --disable-man-group option.
authorSebastien Godard <sysstat@orange.fr>
Wed, 22 Sep 2010 18:20:42 +0000 (20:20 +0200)
committerSebastien Godard <sysstat@orange.fr>
Wed, 22 Sep 2010 18:20:42 +0000 (20:20 +0200)
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
configure
configure.in

diff --git a/CHANGES b/CHANGES
index 6ace908232b6096e81e4ef5ef20810c555859e1e..b3e17835f2fa158673f53eb812257ff84d4d0ecf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@ xxxx/xx/xx: Version 9.1.6 - Sebastien Godard (sysstat <at> 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.
index 8bf0d8cdb57697b11be43d4977dbc0bbf767205e..0baebb9c40d0ad89467f91aac02de3b82cfe57c7 100755 (executable)
--- 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; }
index b5b469226cd45ff5224d648258679bbe6511ddf0..0b2febb8678f950cbd8c1204a3032909defec8fe 100644 (file)
@@ -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)