X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=acinclude.m4;h=ad24bc2e5786eb57608f5f338183b8eec5e9ee1e;hb=29cca33b9001961fa2c33bb9d9fe4a9983913fce;hp=bc981504cd03a4dbb79205376ddd5b95c9bfefac;hpb=2d04a1e6cedcdc832e2db3c65ababc3aff904ec4;p=free-sw%2Fxcb%2Flibxcb diff --git a/acinclude.m4 b/acinclude.m4 index bc98150..ad24bc2 100644 --- a/acinclude.m4 +++ b/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}])