IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 2:54:13 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psConfigure.c

    r2867 r3115  
    1212 *  @author Robert DeSonia, MHPCC
    1313 *
    14  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-01-03 23:35:07 $
     14 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:11 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2222#include "psConfigure.h"
    2323#include "psSysUtilsErrors.h"
    24 
    25 
    26 #ifndef PS_LIB_VERSION
    27 #define PS_LIB_VERSION "psLib version unknown"
    28 #pragma warning PS_LIB_VERSION was not defined in the makefile.
    29 #endif
     24#include "config.h"
    3025
    3126char* psLibVersion(void)
    3227{
    33     // PS_LIB_VERSION comes from Makefile.Globals
    34     return(psStringCopy(PS_LIB_VERSION));
     28    char version[80];
     29    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
     30
     31    return(psStringCopy(version));
    3532}
    3633
Note: See TracChangeset for help on using the changeset viewer.