Index: /trunk/glueforge/templates/psdb/configure_ac.tt
===================================================================
--- /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 9022)
+++ /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 9023)
@@ -30,6 +30,6 @@
 fi
 
-AC_CHECK_PROG(doxygen,[doxygen],[true],[false])
-AM_CONDITIONAL([DOXYGEN], test x$doxygen = xtrue)
+AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
+AM_CONDITIONAL([HAVE_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 9022)
+++ /trunk/glueforge/templates/psdb/top_makefile_am.tt	(revision 9023)
@@ -6,5 +6,5 @@
 EXTRA_DIST = [% pkg_name %].pc.in Doxyfile.in
 
-if DOXYGEN
+if HAVE_DOXYGEN
 
 man_MANS = \
