summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75621dd)
raw | patch | inline | side by side (parent: 75621dd)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 23 Jun 2011 06:31:08 +0000 (06:31 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 23 Jun 2011 06:31:08 +0000 (06:31 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2188 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 29c427bb406fafd17d0a8c446dada3b97beaa143..6d73748f3d0a6e1a87eb3bc19cb8b295f9dc6d29 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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