mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/extconf.rb: add check for OpenSSL version.
[ruby-list:39054] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
108baac00a
commit
0ecdbb65a8
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 20 02:49:22 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* ext/openssl/extconf.rb: add check for OpenSSL version.
|
||||||
|
[ruby-list:39054]
|
||||||
|
|
||||||
Mon Jan 19 23:56:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Jan 19 23:56:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* error.c (name_err_mesg_to_str): inverted condition for result of
|
* error.c (name_err_mesg_to_str): inverted condition for result of
|
||||||
|
|
|
@ -58,6 +58,17 @@ if !result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
check_opensslv = <<_end_of_src_
|
||||||
|
#include <openssl/opensslv.h>
|
||||||
|
#if OPENSSL_VERSION_NUMBER < 0x0090600fL
|
||||||
|
# error too old
|
||||||
|
#endif
|
||||||
|
_end_of_src_
|
||||||
|
if !try_compile(check_opensslv)
|
||||||
|
message "OpenSSL 0.9.6 or later required.\n"
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
|
||||||
message "=== Checking for OpenSSL features... ===\n"
|
message "=== Checking for OpenSSL features... ===\n"
|
||||||
have_func("HMAC_CTX_copy")
|
have_func("HMAC_CTX_copy")
|
||||||
have_func("X509_STORE_get_ex_data")
|
have_func("X509_STORE_get_ex_data")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue