aboutsummaryrefslogtreecommitdiffstats
path: root/ext/zlib/extconf.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-19 05:14:29 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-19 05:14:29 +0000
commitd842fce66e99f008f1119c82693120569a82c107 (patch)
tree76685f0bda7f7d331e77f988235408e09db0fb0e /ext/zlib/extconf.rb
parent439575890301d6649797002bc5e0739b1be25328 (diff)
downloadruby-d842fce66e99f008f1119c82693120569a82c107.tar.gz
* ext/zlib/{extconf.rb, zlib.c): crc32_combine and adler32_combine is
supported on Zlib 1.2.2.1, so check them for old zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/zlib/extconf.rb')
-rw-r--r--ext/zlib/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb
index 53b971b189..499f55a046 100644
--- a/ext/zlib/extconf.rb
+++ b/ext/zlib/extconf.rb
@@ -56,6 +56,9 @@ if %w'z libz zlib1 zlib zdll'.find {|z| have_library(z, 'deflateReset')} and
$defs.concat(defines.collect{|d|' -D'+d})
+ have_func('crc32_combine', 'zlib.h')
+ have_func('adler32_combine', 'zlib.h')
+
create_makefile('zlib')
end