summaryrefslogtreecommitdiff
path: root/config-scripts/cups-manpages.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config-scripts/cups-manpages.m4')
-rw-r--r--config-scripts/cups-manpages.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/config-scripts/cups-manpages.m4 b/config-scripts/cups-manpages.m4
index 00a8c76cc..1af933d4e 100644
--- a/config-scripts/cups-manpages.m4
+++ b/config-scripts/cups-manpages.m4
@@ -1,7 +1,7 @@
dnl
dnl Manpage stuff for CUPS.
dnl
-dnl Copyright 2007-2016 by Apple Inc.
+dnl Copyright 2007-2017 by Apple Inc.
dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
dnl These coded instructions, statements, and computer programs are the
@@ -19,8 +19,8 @@ if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
fi
if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
- case "$uname" in
- Darwin* | Linux | GNU | *BSD*)
+ case "$host_os_name" in
+ darwin* | linux | gnu | *bsd*)
# Darwin, macOS, Linux, GNU HURD, and *BSD
mandir="/usr/share/man"
AMANDIR="/usr/share/man"
@@ -42,8 +42,8 @@ AC_SUBST(AMANDIR)
AC_SUBST(PMANDIR)
dnl Setup manpage extensions...
-case "$uname" in
- SunOS*)
+case "$host_os_name" in
+ sunos*)
# Solaris
MAN1EXT=1
MAN5EXT=5
@@ -51,7 +51,7 @@ case "$uname" in
MAN8EXT=1m
MAN8DIR=1m
;;
- Linux* | GNU* | Darwin*)
+ linux* | gnu* | darwin*)
# Linux, GNU Hurd, and macOS
MAN1EXT=1.gz
MAN5EXT=5.gz