Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zcrypt.c

    rca1fb26a r8f335a8  
    2929#include "filterproc.h"
    3030
    31 extern const char *version;
     31#ifndef OWL_VERSION_STRING
     32#ifdef  GIT_VERSION
     33#define stringify(x)       __stringify(x)
     34#define __stringify(x)     #x
     35#define OWL_VERSION_STRING stringify(GIT_VERSION)
     36#else
     37#define OWL_VERSION_STRING PACKAGE_VERSION
     38#endif
     39#endif /* !OWL_VERSION_STRING */
    3240
    3341/* Annotate functions in which the caller owns the return value and is
     
    149157      case OPT_VERSION:
    150158        /* Version */
    151         printf("This is zcrypt version %s\n", version);
     159        printf("This is zcrypt version %s\n", OWL_VERSION_STRING);
    152160        exit(0);
    153161      case OPT_HELP:
Note: See TracChangeset for help on using the changeset viewer.