diff options
Diffstat (limited to 'dist/libxcb/acinclude.m4')
-rw-r--r-- | dist/libxcb/acinclude.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/libxcb/acinclude.m4 b/dist/libxcb/acinclude.m4 index bc981504c..ad24bc2e5 100644 --- a/dist/libxcb/acinclude.m4 +++ b/dist/libxcb/acinclude.m4 @@ -102,6 +102,11 @@ AC_ARG_WITH( AC_MSG_WARN( [Warning: no doxygen detected. Documentation will not be built]) fi]) + AC_PATH_PROG(DOT, dot, no) + if test "$DOT" = "no"; then + AC_MSG_WARN([Warning: no dot detected. Documentation will not be built]) + BUILD_DOCS="no" + fi fi AC_MSG_CHECKING([whether documentation is built]) AC_MSG_RESULT([${BUILD_DOCS}]) |