mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

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.
15 lines
458 B
C
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@";
|