diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-07-02 13:36:44 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-07-02 13:36:44 +0100 |
commit | ffebf005854b6308485fd375944995730e146be4 (patch) | |
tree | 934fa44a786f0fe5d62567edb689cd83758ad165 | |
parent | ead6d652ffbf9870e6aaf5c40d3a8ceab7bb87eb (diff) | |
download | rtmux-ffebf005854b6308485fd375944995730e146be4.tar.gz rtmux-ffebf005854b6308485fd375944995730e146be4.tar.bz2 rtmux-ffebf005854b6308485fd375944995730e146be4.zip |
Solaris 11.4 and later prefers mdoc, from Alan Coopersmith.
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f6ed390e..5b4bc4a2 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |