--- parser3/src/include/pa_version.h 2025/01/10 19:38:34 1.64 +++ parser3/src/include/pa_version.h 2026/10/07 19:37:27 1.66 @@ -1,8 +1,41 @@ /* specified manually on Windows [automaticaly set on Unix] */ #ifndef PARSER_VERSION #ifdef _WIN64 -#define PARSER_VERSION "3.5.1 (compiled on amd64-pc-win64)" +#define PARSER_VERSION "3.5.2b (compiled on amd64-pc-win64)" #else -#define PARSER_VERSION "3.5.1 (compiled on i386-pc-win32)" +#define PARSER_VERSION "3.5.2b (compiled on i386-pc-win32)" #endif #endif + +// what the build includes, shown after the version +#ifdef PA_SAFE_MODE +# define PA_FEATURE_SAFE_MODE " safe-mode" +#else +# define PA_FEATURE_SAFE_MODE "" +#endif +#ifdef XML +# define PA_FEATURE_XML " xml" +#else +# define PA_FEATURE_XML "" +#endif +#ifdef WITH_AMQP +# ifdef WITHOUT_AMQP_SSL +# define PA_FEATURE_AMQP " amqp" +# else +# define PA_FEATURE_AMQP " amqp+ssl" +# endif +#else +# define PA_FEATURE_AMQP "" +#endif +#ifdef WITH_REDIS +# define PA_FEATURE_REDIS " redis" +#else +# define PA_FEATURE_REDIS "" +#endif +#ifdef WITH_MAILRECEIVE +# define PA_FEATURE_MAILRECEIVE " mail" +#else +# define PA_FEATURE_MAILRECEIVE "" +#endif + +#define PARSER_VERSION_WITH_FEATURES PARSER_VERSION PA_FEATURE_SAFE_MODE PA_FEATURE_XML PA_FEATURE_AMQP PA_FEATURE_REDIS PA_FEATURE_MAILRECEIVE