summaryrefslogtreecommitdiffstats
path: root/ext/openssl/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-03 07:21:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-03 07:21:53 +0000
commit416532a4bc85a7320b1925f4e4b65eaf814219b1 (patch)
tree36ba0a8b02e92723f27dc7c69de18ba7f07b6a7d /ext/openssl/extconf.rb
parent85a77b2b4a6d49e06326071e444d49d914c8e83c (diff)
downloadruby-416532a4bc85a7320b1925f4e4b65eaf814219b1.tar.gz
ruby-416532a4bc85a7320b1925f4e4b65eaf814219b1.tar.xz
ruby-416532a4bc85a7320b1925f4e4b65eaf814219b1.zip
* ext/openssl/extconf.rb: check for functions added in 1.9.
* ext/openssl/ruby_missing.h: check per features instead by checking version code. [ruby-core:10845] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r--ext/openssl/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 98921bc46..27550f5dc 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -59,6 +59,8 @@ unless have_header("openssl/conf_api.h")
exit 1
end
+%w"rb_str_set_len rb_block_call".each {|func| have_func(func, "ruby.h")}
+
message "=== Checking for OpenSSL features... ===\n"
have_func("ERR_peek_last_error")
have_func("BN_mod_add")