Index: trunk/psphot/src/psphotVersion.c
===================================================================
--- trunk/psphot/src/psphotVersion.c	(revision 10491)
+++ trunk/psphot/src/psphotVersion.c	(revision 10492)
@@ -1,3 +1,7 @@
 #include "psphot.h"
+
+# if (HAVE_KAPA) 
+# include <kapa.h>
+# endif
 
 static const char *cvsTag = "$Name: not supported by cvs2svn $";// CVS tag name
@@ -15,4 +19,16 @@
     psString tag = psStringStripCVS(cvsTag, "Name"); // CVS tag
     psStringAppend(&version, " (cvs tag %s) %s, %s", tag, __DATE__, __TIME__);
+
+# if (HAVE_KAPA) 
+    psString ohanaVersion = psStringStripCVS (ohana_version(), "Name");
+    psString libdvoVersion = psStringStripCVS (libdvo_version(), "Name");
+
+    psStringAppend (&version, " with libkapa (ohana %s, libdvo: %s)\n", ohanaVersion, libdvoVersion);
+    psFree (ohanaVersion);
+    psFree (libdvoVersion);
+# else	
+    psStringAppend (&version, " WITHOUT libkapa\n");
+# endif
+
     psFree(tag);
     return version;
