IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2009, 10:22:58 PM (17 years ago)
Author:
Paul Price
Message:

Making version information not dependent upon running configure, but on make.

Location:
trunk/ppArith/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppArith/src

    • Property svn:ignore
      •  

        old new  
        77.libs
        88ppArith
         9ppArithVersionDefinitions.h
  • trunk/ppArith/src/ppArithVersion.c

    r23289 r23795  
    2121
    2222#include "ppArith.h"
     23#include "ppArithVersionDefinitions.h"
    2324
    2425#ifndef PPARITH_VERSION
     
    3233#endif
    3334
    34 #define xstr(s) str(s)
    35 #define str(s) #s
    36 
    3735psString ppArithVersion(void)
    3836{
    3937    char *value = NULL;
    40     psStringAppend(&value, "%s@%s", xstr(PPARITH_BRANCH), xstr(PPARITH_VERSION));
     38    psStringAppend(&value, "%s@%s", PPARITH_BRANCH, PPARITH_VERSION);
    4139    return value;
    4240}
     
    4442psString ppArithSource(void)
    4543{
    46     return psStringCopy(xstr(PPARITH_SOURCE));
     44    return psStringCopy(PPARITH_SOURCE);
    4745}
    4846
Note: See TracChangeset for help on using the changeset viewer.