Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / cf / doc.m4
CommitLineData
805e021f
CE
1AC_DEFUN([OPENAFS_DOC],[
2dnl Check whether kindlegen exists. If not, we'll suppress that part of the
3dnl documentation build.
4AC_CHECK_PROGS([KINDLEGEN], [kindlegen])
5AC_CHECK_PROGS([DOXYGEN], [doxygen])
6
7dnl Optionally generate graphs with doxygen.
8case "$with_dot" in
9maybe)
10 AC_CHECK_PROGS([DOT], [dot])
11 AS_IF([test "x$DOT" = "x"], [HAVE_DOT="no"], [HAVE_DOT="yes"])
12 ;;
13yes)
14 HAVE_DOT="yes"
15 ;;
16no)
17 HAVE_DOT="no"
18 ;;
19*)
20 HAVE_DOT="yes"
21 DOT_PATH=$with_dot
22esac
23AC_SUBST(HAVE_DOT)
24AC_SUBST(DOT_PATH)
25])