summaryrefslogtreecommitdiff
path: root/Build/source/libs/zlib/ac/zlib.ac
blob: c2dcd5593a02857b09ced290bbc2450153659c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
dnl
dnl Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
dnl You may freely use, modify and/or distribute this file.
dnl
## basic check of system zlib
KPSE_TRY_LIB([zlib],
             [#include <zlib.h>],
             [z_stream stream;
const char *version = zlibVersion();
#if ZLIB_VERNUM < 0x1260
  choke me
#endif
deflate(&stream, 0);])