* configure.in: When checking for "nroff -mandoc" support, don't

use /dev/null as input file, use stdin.  Some versions of nroff
(e.g. groff-1.16.1) don't accept special files.
This commit is contained in:
Pavel Roskin 2001-10-18 04:54:42 +00:00
parent ddcec565ec
commit fa7b354b12
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-10-18 Pavel Roskin <proski@gnu.org>
* configure.in: When checking for "nroff -mandoc" support, don't
use /dev/null as input file, use stdin. Some versions of nroff
(e.g. groff-1.16.1) don't accept special files.
2001-10-14 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a

View File

@ -335,7 +335,7 @@ AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
if $HAVE_nroff; then
AC_MSG_CHECKING([for manual formatting macros])
AC_CACHE_VAL(ac_cv_mandoc, [
nroff -mandoc < /dev/null > /dev/null 2>&1 /dev/null
nroff -mandoc < /dev/null > /dev/null 2>&1
if test $? = 0
then
ac_cv_mandoc=-mandoc