Index: subversion/libsvn_subr/sysinfo.c =================================================================== --- subversion/libsvn_subr/sysinfo.c (revision 1804819) +++ subversion/libsvn_subr/sysinfo.c (working copy) @@ -51,6 +51,12 @@ #include "sysinfo.h" #include "svn_private_config.h" +#if SVN_INTERNAL_LZ4 +#include "lz4/lz4internal.h" +#else +#include +#endif + #if HAVE_SYS_UTSNAME_H #include #endif @@ -167,6 +173,20 @@ lib->compiled_version = apr_pstrdup(pool, svn_zlib__compiled_version()); lib->runtime_version = apr_pstrdup(pool, svn_zlib__runtime_version()); + lib = &APR_ARRAY_PUSH(array, svn_version_ext_linked_lib_t); + lib->name = "LZ4"; + lib->compiled_version = apr_psprintf(pool, "%d.%d.%d", LZ4_VERSION_MAJOR, + LZ4_VERSION_MINOR, + LZ4_VERSION_RELEASE); +#ifdef SVN_INTERNAL_LZ4 + lib->runtime_version = NULL; +#else + lib->runtime_version = apr_psprintf(pool, "%d.%d.%d", + LZ4_versionNumber() / (100*100), + (LZ4_versionNumber() / 100) % 100, + LZ4_versionNumber() % 100); +#endif + return array; }