2 dnl Manpage stuff for CUPS.
4 dnl Copyright 2007-2017 by Apple Inc.
5 dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
7 dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information.
10 dnl Fix "mandir" variable...
11 if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
12 # New GNU "standards" break previous ones, so make sure we use
13 # the right default location for the operating system...
14 mandir="\${prefix}/man"
17 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
18 case "$host_os_name" in
19 darwin* | linux* | gnu* | *bsd*)
20 # Darwin, macOS, Linux, GNU HURD, and *BSD
21 mandir="/usr/share/man"
22 AMANDIR="/usr/share/man"
23 PMANDIR="/usr/share/man"
40 dnl Setup manpage extensions...
41 case "$host_os_name" in
50 linux* | gnu* | darwin*)
51 # Linux, GNU Hurd, and macOS