Avoid the external zlib dependency in ClamAV by copying zlib-1.2.11
source into the benchmark.
External dependencies are problematic in benchmarks because:
- They are not compiled with the same compiler/flags as the rest of the benchmarks.
- They are an additional burden to setup when running the test-suite. While zlib is a really popular and ubiquitous library it is still sometimes missing in cross-compilation settings.
- No external dependencies simplifies the buildsystem.
This will unfortunately increase the overal compilatime of ClamAV and may therefore disrupt the history of CTMark data.