Use environment variable GROFF_NO_SGR instead of option -P-c, because

older versions of groff choke on the latter.
This commit is contained in:
Markus Armbruster 2006-06-20 06:02:24 +00:00
parent f21b62e121
commit 7100bf90e7

View file

@ -55,7 +55,7 @@ AM_PROG_CC_C_O
_AM_DEPENDENCIES(CC)
AC_ARG_VAR(NROFF, [nroff command])
AC_CHECK_PROG(NROFF, groff, [groff -Tascii -P-c -U], nroff)
AC_CHECK_PROG(NROFF, groff, [GROFF_NO_SGR= groff -Tascii -U], nroff)
# not really a check for a program, but close enough
if test -d $srcdir/CVS; then cvs_controlled=yes; else cvs_controlled=no; fi