zeek/src/version.c.in
Peter Cullen d57679e3dd Support for configurable localversion
Adds a new --localversion option to configure.
The value of localversion becomes part of the Zeek version string.
Docker builds allow an environment variable (LOCALVERSION) to set
the localversion string.
2024-04-17 14:16:47 -07:00

15 lines
458 B
C

#include "zeek/zeek-version.h"
char version[] = "@ZEEK_VERSION_FULL_LOCAL@";
// A C function that has the current version built into its name.
// One can link a shared library against this to ensure that it won't
// load if the version of the main Zeek binary differs compared to
// what the library was compiled against.
const char* ZEEK_VERSION_FUNCTION()
{
return "@VERSION_C_IDENT@";
}
const char zeek_build_info[] = "@ZEEK_BUILD_INFO_ESCAPED@";