maint: check for dot before using it

* configure.ac: here.
* doc/Makefile.am: Use $(DOT).
Ship the generated files, to spare the user the need for Graphviz.
This commit is contained in:
Akim Demaille
2012-10-19 11:28:01 +02:00
parent fc4fdd623e
commit a029e56f5c
3 changed files with 24 additions and 19 deletions

View File

@@ -115,6 +115,7 @@ AC_SUBST([YACC_SCRIPT])
AC_SUBST([YACC_LIBRARY])
# Checks for programs.
AM_MISSING_PROG([DOT], [dot])
AC_PROG_LEX
$LEX_IS_FLEX || AC_MSG_ERROR([Flex is required])
AC_PROG_YACC