X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=configure.ac;h=0a68ceb69a7dd1408ec490c059f545e796f78014;hp=10603bdb05f391a29c2936f1b1e9ae4d5bcd6562;hb=0b3205462f58dc3d59fe016563629e0bd03f8ae3;hpb=73a6c71d15d42b54355e044f0c5ee14544c0cf05 diff --git a/configure.ac b/configure.ac index 10603bd..0a68ceb 100644 --- a/configure.ac +++ b/configure.ac @@ -904,8 +904,16 @@ fi AC_SUBST(COMP_PYTHON) dnl Check for nroff -AC_PATH_PROGS(NROFF, gnroff nroff) -AC_PATH_PROGS(TROFF, groff troff) +AC_ARG_VAR(NROFF, [path to the local nroff version]) +AC_PATH_PROGS(NROFF, [gnroff nroff]) +if test x$NROFF = x; then + AC_MSG_ERROR([I need a copy of *nroff to format the documentation]) +fi +AC_ARG_VAR(TROFF, [path to the local troff version]) +AC_PATH_PROGS(TROFF, [groff troff]) +if test x$TROFF = x; then + AC_MSG_ERROR([I need a copy of *troff to format the documentation]) +fi AC_ARG_VAR(RRDDOCDIR, [[DATADIR/doc/PACKAGE-VERSION] Documentation directory]) if test -z "$RRDDOCDIR"; then