Index: /trunk/glueforge/templates/psdb/configure_ac.tt
===================================================================
--- /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 6117)
+++ /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 6118)
@@ -24,8 +24,6 @@
 fi
 
-AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
-if test "$DOXYGEN" = "missing" ; then
-  AC_MSG_ERROR([doxygen is required])
-fi
+AC_PATH_PROG([doxygen], [doxygen], [missing])
+AM_CONDITIONAL([DOXYGEN], test "x$doxygen" = "xmissing")
 
 dnl is this the best was to setup recursive CFLAGS?
Index: /trunk/glueforge/templates/psdb/top_makefile_am.tt
===================================================================
--- /trunk/glueforge/templates/psdb/top_makefile_am.tt	(revision 6117)
+++ /trunk/glueforge/templates/psdb/top_makefile_am.tt	(revision 6118)
@@ -5,4 +5,6 @@
 
 EXTRA_DIST = [% pkg_name %].pc.in Doxyfile.in
+
+if DOXYGEN
 
 man_MANS = \
@@ -23,4 +25,6 @@
 	$(DOXYGEN)
 
+endif
+
 clean-local:
 	-rm -rf docs
