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.
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(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"