diff --git a/GNUmakefile.in b/GNUmakefile.in index 6a8aaadd..fb41ce14 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -67,8 +67,7 @@ AWK := @AWK@ INSTALL := @INSTALL@ INSTALL_DATA := @INSTALL_DATA@ INSTALL_PROGRAM := @INSTALL_PROGRAM@ -# TODO autoconf NROFF -NROFF := groff -Tascii -P-c -U +NROFF := @NROFF@ RANLIB := @RANLIB@ prefix := @prefix@ diff --git a/README b/README index 44208080..27e70b20 100644 --- a/README +++ b/README @@ -25,8 +25,8 @@ To build the server and set up a game, follow the steps below. (2) Building a server - Requirements: GNU make and GNU troff (`groff'), ANSI C, a curses - library, Perl, Bourne Shell and the common utilities. + Requirements: GNU make and, ANSI C, a curses library, Perl, nroff + or GNU troff (`groff'), Bourne Shell and the common utilities. See file `INSTALL' for detailed compilation and installation 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 '. - FIXME auth - * Create countries with `exec newcap_script'. Your game is now up! diff --git a/configure.ac b/configure.ac index 19f29c09..7c422ad9 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,9 @@ AM_PROG_CC_C_O # Private automake macro, tsk, tsk, tsk... _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 if test -d $srcdir/CVS; then cvs_controlled=yes; else cvs_controlled=no; fi AC_SUBST(cvs_controlled,$cvs_controlled)