From: Ben Walton Date: Wed, 18 May 2011 02:56:35 +0000 (-0400) Subject: Add COMPRESS_MANPAGES substituted variable to autoconf X-Git-Tag: Release-7.0.0~898 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92d221d4b697436b29036ba0e144e238ceed4027;p=bacula%2Fbacula Add COMPRESS_MANPAGES substituted variable to autoconf Solaris doesn't handle compressed manpages so we need a toggle that will allow installing them uncompressed on that platform. It should be yes by default and disabled for platforms that have a legacy man binary. Signed-off-by: Ben Walton --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index e1b1bdd465..f7387bbd91 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -2912,6 +2912,7 @@ PFILES="platforms/Makefile" PSCMD="ps -e" WIN32= MACOSX= +COMPRESS_MANPAGES=yes hostname=`uname -n | cut -d '.' -f 1` if test x${hostname} = x ; then @@ -3139,6 +3140,7 @@ solaris) platforms/solaris/bacula-fd \ platforms/solaris/bacula-sd \ platforms/solaris/bacula-dir" + COMPRESS_MANPAGES= case ${DISTVER} in 5.5|5.6) AC_DEFINE(HAVE_OLD_SOCKOPT) @@ -3196,6 +3198,7 @@ AC_SUBST(WIN32) AC_SUBST(MACOSX) AC_SUBST(DISTNAME) AC_SUBST(DISTVER) +AC_SUBST(COMPRESS_MANPAGES) dnl common parts of the Makefile MCOMMON=./autoconf/Make.common