1 dnl Copyright (C) 2003 CEA/DEN, EDF R&D
3 AC_DEFUN([CHECK_HTML_GENERATORS],[
5 #AC_CHECKING(for html generators)
9 AC_PATH_PROG(DOXYGEN,doxygen)
10 if test "x$DOXYGEN" = "x"
12 AC_MSG_WARN(doxygen not found)
15 if test "x$doxygen_ok" = "xyes"
17 version=`$DOXYGEN --version`
18 AC_MSG_RESULT(doxygen version $version)
21 DOXYGEN_WITH_PYTHON=yes
25 DOXYGEN_WITH_PYTHON=yes
29 DOXYGEN_WITH_PYTHON=yes
33 DOXYGEN_WITH_PYTHON=yes
37 DOXYGEN_WITH_PYTHON=yes
41 DOXYGEN_WITH_PYTHON=yes
45 DOXYGEN_WITH_PYTHON=yes
49 DOXYGEN_WITH_PYTHON=no
53 AC_MSG_RESULT(doxygen with support STL - $DOXYGEN_WITH_STL)
54 AC_MSG_RESULT(doxygen with support PYTHON - $DOXYGEN_WITH_PYTHON)
55 AC_SUBST(DOXYGEN_WITH_PYTHON)
56 AC_SUBST(DOXYGEN_WITH_STL)
61 dnl were is graphviz ?
63 if test "x$DOT" = "x" ; then
64 AC_MSG_WARN(graphviz not found)
69 AC_PATH_PROG(LATEX,latex)
70 if test "x$LATEX" = "x" ; then
71 AC_MSG_WARN(latex not found)
75 AC_PATH_PROG(DVIPS,dvips)
76 if test "x$DVIPS" = "x" ; then
77 AC_MSG_WARN(dvips not found)
81 AC_PATH_PROG(PDFLATEX,pdflatex)
82 if test "x$PDFLATEX" = "x" ; then
83 AC_MSG_WARN(pdflatex not found)
88 dnl were is rst2html ?
89 AC_PATH_PROG(RST2HTML,rst2html)
90 if test "x$RST2HTML" = "x"; then
91 AC_PATH_PROG(RST2HTML,rst2html.py)
94 if test "x$RST2HTML" = "x"; then
95 AC_MSG_WARN(rst2html not found)
100 AM_CONDITIONAL(RST2HTML_IS_OK, [test x"$rst2html_ok" = xyes])