From fa7b354b129327b0942c5d5c54fe9cd52351424d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 18 Oct 2001 04:54:42 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ configure.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3640cf1b6..a6708e5df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-10-18 Pavel Roskin + + * 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 * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a diff --git a/configure.in b/configure.in index d2bd58bf7..98a0dd213 100644 --- a/configure.in +++ b/configure.in @@ -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