Autoconfigure NROFF. Traditional nroff now works in addition to

groff.
This commit is contained in:
Markus Armbruster 2006-05-24 19:56:13 +00:00
parent b01382cdcc
commit 8a81c5b404
3 changed files with 6 additions and 6 deletions

View file

@ -67,8 +67,7 @@ AWK := @AWK@
INSTALL := @INSTALL@ INSTALL := @INSTALL@
INSTALL_DATA := @INSTALL_DATA@ INSTALL_DATA := @INSTALL_DATA@
INSTALL_PROGRAM := @INSTALL_PROGRAM@ INSTALL_PROGRAM := @INSTALL_PROGRAM@
# TODO autoconf NROFF NROFF := @NROFF@
NROFF := groff -Tascii -P-c -U
RANLIB := @RANLIB@ RANLIB := @RANLIB@
prefix := @prefix@ prefix := @prefix@

6
README
View file

@ -25,8 +25,8 @@ To build the server and set up a game, follow the steps below.
(2) Building a server (2) Building a server
Requirements: GNU make and GNU troff (`groff'), ANSI C, a curses Requirements: GNU make and, ANSI C, a curses library, Perl, nroff
library, Perl, Bourne Shell and the common utilities. or GNU troff (`groff'), Bourne Shell and the common utilities.
See file `INSTALL' for detailed compilation and installation See file `INSTALL' for detailed compilation and installation
instructions. Quick guide for the impatient: run configure; make; instructions. Quick guide for the impatient: run configure; make;
@ -71,8 +71,6 @@ To build the server and set up a game, follow the steps below.
To change the deity password, use `change re <password>'. To change the deity password, use `change re <password>'.
FIXME auth
* Create countries with `exec newcap_script'. * Create countries with `exec newcap_script'.
Your game is now up! Your game is now up!

View file

@ -54,6 +54,9 @@ AM_PROG_CC_C_O
# Private automake macro, tsk, tsk, tsk... # Private automake macro, tsk, tsk, tsk...
_AM_DEPENDENCIES(CC) _AM_DEPENDENCIES(CC)
AC_ARG_VAR(NROFF, [nroff command])
AC_CHECK_PROG(NROFF, groff, [groff -Tascii -P-c -U], nroff)
# not really a check for a program, but close enough # not really a check for a program, but close enough
if test -d $srcdir/CVS; then cvs_controlled=yes; else cvs_controlled=no; fi if test -d $srcdir/CVS; then cvs_controlled=yes; else cvs_controlled=no; fi
AC_SUBST(cvs_controlled,$cvs_controlled) AC_SUBST(cvs_controlled,$cvs_controlled)