mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Cut check for OpenSSL version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
85f1f85868
commit
3f71dcc79b
2 changed files with 4 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jul 24 03:44:04 2003 Michal Rokos <m.rokos@sh.cvut.cz>
|
||||
|
||||
* ext/openssl/extconf.rb: cut check for OpenSSL version
|
||||
|
||||
Thu Jul 24 03:41:30 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/tcltklib/tcltklib.c (ip_init): need at least one statement after
|
||||
|
|
|
@ -31,8 +31,6 @@ if !defined? message
|
|||
end
|
||||
end
|
||||
|
||||
includes, = dir_config("openssl")
|
||||
includes ||= "/usr/include"
|
||||
|
||||
message "=== OpenSSL for Ruby configurator ===\n"
|
||||
|
||||
|
@ -73,17 +71,6 @@ EOD
|
|||
end
|
||||
|
||||
|
||||
def have_openssl_097(inc_dir)
|
||||
# FIXME:
|
||||
# checking_for("OpenSSL >= 0.9.7") do
|
||||
printf "checking for OpenSSL version... "
|
||||
File.open(inc_dir+"/openssl/opensslv.h") {|f|
|
||||
txt = f.read
|
||||
puts (txt.grep(/#define SHLIB_VERSION_NUMBER/)[0].split '"')[1]
|
||||
true
|
||||
}
|
||||
end
|
||||
|
||||
message "=== Checking for required stuff... ===\n"
|
||||
|
||||
result = have_header("openssl/crypto.h")
|
||||
|
@ -101,7 +88,6 @@ have_header("unistd.h")
|
|||
have_header("sys/time.h")
|
||||
|
||||
message "=== Checking for OpenSSL features... ===\n"
|
||||
have_openssl_097(includes)
|
||||
have_func("HMAC_CTX_copy")
|
||||
have_func("X509_STORE_get_ex_data")
|
||||
have_func("X509_STORE_set_ex_data")
|
||||
|
|
Loading…
Add table
Reference in a new issue