Index: /trunk/glueforge/templates/psdb/configure_ac.tt
===================================================================
--- /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 4347)
+++ /trunk/glueforge/templates/psdb/configure_ac.tt	(revision 4348)
@@ -1,4 +1,2 @@
-dnl Process this file with autoconf to produce a configure script.
-
 AC_PREREQ(2.59)
 
@@ -19,5 +17,15 @@
 AC_PROG_LIBTOOL
 
-PKG_CHECK_MODULES(PSLIB, pslib >= 0.5.0) 
+PKG_CHECK_MODULES([PSLIB], [pslib >= 0.5.0]) 
+
+AC_PATH_PROG([PERL], [perl], [missing])
+if test "$PERL" = "missing" ; then
+  AC_MSG_ERROR([perl is required])
+fi
+
+AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
+if test "$DOXYGEN" = "missing" ; then
+  AC_MSG_ERROR([doxygen is required])
+fi
 
 dnl is this the best was to setup recursive CFLAGS?
