dect
/
libnl
Archived
13
0
Fork 0

configure: Check for pygmentize when building docs

Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
Thomas Graf 2012-08-30 13:36:23 +02:00
parent 5eeb3d3ea6
commit 929bd0150f
1 changed files with 10 additions and 0 deletions

View File

@ -132,6 +132,16 @@ if test "x$generate_doc" != "xno"; then
fi
fi
AC_CHECK_PROG(HAVE_PYGMENTIZE, [pygmentize], yes, no)
if test "x$HAVE_PYGMENTIZE" = "xno"; then
if test "x$generate_doc" = "xyes"; then
AC_MSG_ERROR([*** pygmentize package required to generate documentation])
else
AC_MSG_WARN([*** Disabling building of guides])
HAVE_ASCIIDOC=no
fi
fi
link_doc=yes
if test "x$HAVE_DOXYGEN" = "xno"; then
AC_MSG_WARN([*** Disabling API linking due to missing doxygen package])