2 dnl Manpage stuff for CUPS.
4 dnl Copyright © 2007-2019 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
11 dnl Fix "mandir" variable...
12 if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
13 # New GNU "standards" break previous ones, so make sure we use
14 # the right default location for the operating system...
15 mandir="\${prefix}/man"
18 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
19 case "$host_os_name" in
20 darwin* | linux* | gnu* | *bsd*)
21 # Darwin, macOS, Linux, GNU HURD, and *BSD
22 mandir="/usr/share/man"