diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 03:33:09 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 03:33:09 (GMT) |
commit | 6e73aaab474ab9df512e8f24029ed1c57f39c619 (patch) | |
tree | 52ce5b5abe343a3b08f92af29ddf7832ddad360d /configure.in | |
parent | a6d80faf6c7074ad970a2ba15e825d5343a37ec3 (diff) | |
download | cpython-6e73aaab474ab9df512e8f24029ed1c57f39c619.zip cpython-6e73aaab474ab9df512e8f24029ed1c57f39c619.tar.gz cpython-6e73aaab474ab9df512e8f24029ed1c57f39c619.tar.bz2 |
Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy
copy is only in newer versions of zlib. This should allow zlibmodule
to work with older versions like the Tru64 buildbot.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cca20a8..1b7b57e 100644 --- a/configure.in +++ b/configure.in @@ -2351,6 +2351,9 @@ AC_CHECK_LIB(c, inet_aton, [$ac_cv_prog_TRUE], AC_CHECK_LIB(resolv, inet_aton) ) +dnl Check if system zlib has *Copy() functions +AC_CHECK_LIB(z, inflateCopy, AC_DEFINE(HAVE_ZLIB_COPY, 1, Define if the zlib library has inflateCopy)) + AC_MSG_CHECKING(for hstrerror) AC_TRY_LINK([ #include "confdefs.h" |