]> git.sur5r.net Git - bacula/bacula/commitdiff
Add COMPRESS_MANPAGES substituted variable to autoconf
authorBen Walton <bwalton@artsci.utoronto.ca>
Wed, 18 May 2011 02:56:35 +0000 (22:56 -0400)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:02 +0000 (14:49 +0200)
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 <bwalton@artsci.utoronto.ca>
bacula/autoconf/configure.in

index e1b1bdd46561855989e30a8e17049460fa0972f9..f7387bbd9170e46159db035d8b71075d8130a070 100644 (file)
@@ -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