Index: trunk/psLib/src/sys/psConfigure.c
===================================================================
--- trunk/psLib/src/sys/psConfigure.c	(revision 2867)
+++ trunk/psLib/src/sys/psConfigure.c	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-03 23:35:07 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,15 +22,12 @@
 #include "psConfigure.h"
 #include "psSysUtilsErrors.h"
-
-
-#ifndef PS_LIB_VERSION
-#define PS_LIB_VERSION "psLib version unknown"
-#pragma warning PS_LIB_VERSION was not defined in the makefile.
-#endif
+#include "config.h"
 
 char* psLibVersion(void)
 {
-    // PS_LIB_VERSION comes from Makefile.Globals
-    return(psStringCopy(PS_LIB_VERSION));
+    char version[80];
+    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
+
+    return(psStringCopy(version));
 }
 
