diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-03 07:21:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-03 07:21:53 +0000 |
commit | 043479247cfe70d6464293a0b070f9bfaba608fd (patch) | |
tree | 36ba0a8b02e92723f27dc7c69de18ba7f07b6a7d /ext/openssl/extconf.rb | |
parent | 8b95ee24de750995a0ffa7881b0c190315a98598 (diff) | |
download | ruby-043479247cfe70d6464293a0b070f9bfaba608fd.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 98921bc468..27550f5dc7 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") |