2 dnl "$Id: cups-manpages.m4 6649 2007-07-11 21:46:42Z mike $"
4 dnl Manpage stuff for the Common UNIX Printing System (CUPS).
6 dnl Copyright 2007 by Apple Inc.
7 dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
9 dnl These coded instructions, statements, and computer programs are the
10 dnl property of Apple Inc. and are protected by Federal copyright
11 dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 dnl which should have been included with this file. If this file is
13 dnl file is missing or damaged, see the license at "http://www.cups.org/".
16 dnl Fix "mandir" variable...
17 if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
18 # New GNU "standards" break previous ones, so make sure we use
19 # the right default location for the operating system...
20 mandir="\${prefix}/man"
23 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
25 Darwin* | Linux | GNU | *BSD* | AIX*)
26 # Darwin, MacOS X, Linux, GNU HURD, *BSD, and AIX
27 mandir="/usr/share/man"
28 AMANDIR="/usr/share/man"
29 PMANDIR="/usr/share/man"
33 mandir="/usr/share/catman/u_man"
34 AMANDIR="/usr/share/catman/a_man"
35 PMANDIR="/usr/share/catman/p_man"
52 dnl Setup manpage extensions...
70 Linux* | GNU* | Darwin*)
71 # Linux, GNU Hurd, and Mac OS X
95 dnl End of "$Id: cups-manpages.m4 6649 2007-07-11 21:46:42Z mike $".