Index: trunk/psLib/configure.ac
===================================================================
--- trunk/psLib/configure.ac	(revision 8964)
+++ trunk/psLib/configure.ac	(revision 8975)
@@ -373,6 +373,17 @@
   [AC_MSG_ERROR([The C99 function, atoll, is required; update your compiler version?])])
 
-AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
-AM_CONDITIONAL([DOXYGEN], test "x$doxygen" != "xmissing")
+
+dnl doxygen doc generation is very, very slow so we're turing it off by default
+AC_ARG_ENABLE(doxygen,
+  [AS_HELP_STRING(--enable-doxygen ,enable manpage generation)],
+  [AC_MSG_RESULT(doxygen enabled)
+    AC_PATH_PROG([DOXYGEN], [doxygen], [missing])
+    AM_CONDITIONAL([DOXYGEN], test "x$doxygen" != "xmissing")
+  ],
+  [AC_MSG_RESULT([doxygen disabled])
+    AM_CONDITIONAL([DOXYGEN], test 0)
+  ]
+)
+
 
 dnl ------- restore CFLAGS / LDFLAGS (tests done) --------
