#include <string.h>
#include <zlib.h>
int main() {
#ifdef ZLIB_VERSION
#ifdef ZLIB_VERNUM
/* Work around Debian bug: it uses 1.2.3.4 even though there was no such
if (ZLIB_VERNUM < 0x1250) {
version on the master site zlib.net */
exit(1);
exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0);
}
exit(0);
#else
#endif
-----------------------------------------------------------------------