]> granicus.if.org Git - sysstat/commitdiff
Check for both --disable and --enable-compress-manpg
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 24 Aug 2020 09:06:05 +0000 (11:06 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 24 Aug 2020 09:06:05 +0000 (11:06 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
configure
configure.in

index c0e6b6b7c07b5230e840bd5efe75c0190d683899..035c07dd29cf61186d26821c6b2e02b1ca6f9d02 100755 (executable)
--- a/configure
+++ b/configure
@@ -5350,7 +5350,7 @@ $as_echo "$AUX_IMG" >&6; }
 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
 # Check whether --enable-compress-manpg was given.
 if test "${enable_compress_manpg+set}" = set; then :
-  enableval=$enable_compress_manpg; AUX_MPG=no
+  enableval=$enable_compress_manpg; AUX_MPG=$enableval
 else
   AUX_MPG=yes
 fi
index b6ab705f481f75c822fdec49c1d761627ce052f4..8010348efda8eb4e9b28236e7a18781f443e1643 100644 (file)
@@ -496,7 +496,7 @@ AC_MSG_CHECKING(whether manual pages should be compressed)
 AC_ARG_ENABLE(compress-manpg,
              AC_HELP_STRING([--disable-compress-manpg],
                             [do not compress sysstat manual pages]),
-                            AUX_MPG=no,AUX_MPG=yes)
+                            AUX_MPG=$enableval,AUX_MPG=yes)
 if test $AUX_MPG != "yes"; then
    COMPRESS_MANPG=n
 else