#ifndef _PILOT_VERSION_H_ #define _PILOT_VERSION_H_ /* * pi-version.h: Version numbers and global macros. * * This file contains #defines for pilot-link's version number, * and some macros that may be used anywhere in the codebase. * * PILOT_LINK_IS(0,12,0) may be used to determine if the * pilot-link version is _at least_ 0.12.0 (added in 0.12.0). * */ #define PILOT_LINK_VERSION @PILOT_LINK_VERS@ #define PILOT_LINK_MAJOR @PILOT_LINK_MAJOR@ #define PILOT_LINK_MINOR @PILOT_LINK_MINOR@ #define PILOT_LINK_PATCH "@PILOT_LINK_PATCH@" #define PILOT_LINK_IS(a,b,c) \ ((PILOT_LINK_VERSION > a) || \ ((PILOT_LINK_VERSION == a) && \ ((PILOT_LINK_MAJOR > b) || \ ((PILOT_LINK_MAJOR == b) && (PILOT_LINK_MINOR >= c))))) #endif /* _PILOT_VERSION_H_ */