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