From: Sebastien GODARD Date: Mon, 24 Aug 2020 09:06:05 +0000 (+0200) Subject: Check for both --disable and --enable-compress-manpg X-Git-Tag: v12.5.1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=996d3c84c82db15739b47d86b64329849a7af2de;p=sysstat Check for both --disable and --enable-compress-manpg Signed-off-by: Sebastien GODARD --- diff --git a/configure b/configure index c0e6b6b..035c07dd 100755 --- 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 diff --git a/configure.in b/configure.in index b6ab705..8010348 100644 --- a/configure.in +++ b/configure.in @@ -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