Index: trunk/psModules/src/config/Makefile.am
===================================================================
--- trunk/psModules/src/config/Makefile.am	(revision 10282)
+++ trunk/psModules/src/config/Makefile.am	(revision 10287)
@@ -4,8 +4,10 @@
 libpsmodulesconfig_la_LDFLAGS  = -release $(PACKAGE_VERSION)
 libpsmodulesconfig_la_SOURCES  = \
-    pmConfig.c
+    pmConfig.c \
+    pmConfigure.c
 
 pkginclude_HEADERS = \
-    pmConfig.h
+    pmConfig.h \
+    pmConfigure.h
 
 CLEANFILES = *~
Index: trunk/psModules/src/config/pmConfigure.c
===================================================================
--- trunk/psModules/src/config/pmConfigure.c	(revision 10287)
+++ trunk/psModules/src/config/pmConfigure.c	(revision 10287)
@@ -0,0 +1,32 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdio.h>
+#include <string.h>
+#include <pslib.h>
+#include "pmConfigure.h"
+
+static const char *cvsTag = "$Name: not supported by cvs2svn $";// CVS tag name
+
+psString psModulesVersion(void)
+{
+    psString version = NULL;            // Version, to return
+    psStringAppend(&version, "%s-%s",PACKAGE_NAME,PACKAGE_VERSION);
+    return version;
+}
+
+psString psModulesVersionLong(void)
+{
+    psString version = psModulesVersion(); // 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;
+}
Index: trunk/psModules/src/config/pmConfigure.h
===================================================================
--- trunk/psModules/src/config/pmConfigure.h	(revision 10287)
+++ trunk/psModules/src/config/pmConfigure.h	(revision 10287)
@@ -0,0 +1,25 @@
+#ifndef PM_CONFIGURE_H
+#define PM_CONFIGURE_H
+
+#include <pslib.h>
+
+/** Get current psModules version
+ *
+ *  Returns the current psModules version name as a string.
+ *
+ *  @return psString: String with version name.
+ */
+psString psModulesVersion(
+    void
+);
+
+/** Get current psModules version (full identification)
+ *
+ *  Returns the current psModules version name and other information identifying the compilation.
+ *
+ *  @return psString: String with identity.
+ */
+psString psModulesVersionLong(void);
+
+
+#endif
Index: trunk/psModules/src/psmodules.h
===================================================================
--- trunk/psModules/src/psmodules.h	(revision 10282)
+++ trunk/psModules/src/psmodules.h	(revision 10287)
@@ -6,4 +6,5 @@
 // the following headers are from psModule:config
 #include <pmConfig.h>
+#include <pmConfigure.h>
 
 // the following headers are from psModule:concepts
