Solaris 11.4 and later prefers mdoc, from Alan Coopersmith.

pull/1394/head
Nicholas Marriott 2018-07-02 13:36:44 +01:00
parent ead6d652ff
commit ffebf00585
1 changed files with 10 additions and 1 deletions

View File

@ -610,7 +610,16 @@ case "$host_os" in
*solaris*)
AC_MSG_RESULT(sunos)
PLATFORM=sunos
MANFORMAT=man
case `/usr/bin/nroff --version 2>&1` in
*GNU*)
# Solaris 11.4 and later use GNU groff.
MANFORMAT=mdoc
;;
*)
# Solaris 2.0 to 11.3 use AT&T nroff.
MANFORMAT=man
;;
esac
;;
*hpux*)
AC_MSG_RESULT(hpux)