Index: libyaml/trunk/configure.ac
===================================================================
--- libyaml/trunk/configure.ac	(revision 169)
+++ libyaml/trunk/configure.ac	(revision 172)
@@ -56,4 +56,7 @@
 AC_PROG_LIBTOOL
 
+AC_CHECK_PROG(DOXYGEN, [doxygen], [true], [false])
+AM_CONDITIONAL(DOXYGEN, [test "$DOXYGEN" = true])
+
 # Checks for header files.
 AC_HEADER_STDC
