Index: trunk/psLib/src/sys/psConfigure.c
===================================================================
--- trunk/psLib/src/sys/psConfigure.c	(revision 10284)
+++ trunk/psLib/src/sys/psConfigure.c	(revision 10286)
@@ -13,6 +13,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-11-29 20:24:19 $
+ *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-11-29 21:33:09 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -34,8 +34,25 @@
 static FILE *memCheckFile = NULL;       // File to which to write results of mem check
 
+static const char *cvsTag = "$Name: not supported by cvs2svn $"; // CVS tag name
+
 psString psLibVersion(void)
 {
-    psString version = NULL;
-    psStringAppend(&version, "%s-v%s",PACKAGE_NAME,PACKAGE_VERSION);
+    psString version = NULL;            // Version, to return
+    psStringAppend(&version, "%s-%s",PACKAGE_NAME,PACKAGE_VERSION);
+    return version;
+}
+
+psString psLibVersionLong(void)
+{
+    psString version = psLibVersion();    // Version, to return
+    psString tag = psStringStripCVS(cvsTag, "Name"); // CVS tag
+
+    psStringAppend(&version, " (cvs tag %s) compiled %s at %s with"
+                   #ifdef OMIT_PSDB
+                   "out"
+                   #endif
+                   " psDB", tag, __DATE__, __TIME__);
+
+    psFree(tag);
     return version;
 }
