mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
of OPENSSL_VERSION_NUMBER. [ruby-list:39056] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e3cf35690
commit
c4fc5f52f8
2 changed files with 6 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 20 14:48:13 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
|
||||||
|
of OPENSSL_VERSION_NUMBER. [ruby-list:39056]
|
||||||
|
|
||||||
Tue Jan 20 14:43:17 2004 Dave Thomas <dave@pragprog.com>
|
Tue Jan 20 14:43:17 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
* lib/base64.rb: Add RDoc
|
* lib/base64.rb: Add RDoc
|
||||||
|
|
|
@ -33,8 +33,6 @@ if with_config("debug") or enable_config("debug")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
message "=== Checking for system dependent stuff... ===\n"
|
message "=== Checking for system dependent stuff... ===\n"
|
||||||
have_library("nsl", "t_open")
|
have_library("nsl", "t_open")
|
||||||
have_library("socket", "socket")
|
have_library("socket", "socket")
|
||||||
|
@ -58,13 +56,7 @@ if !result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
check_opensslv = <<_end_of_src_
|
unless have_header("openssl/conf_api.h")
|
||||||
#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"
|
message "OpenSSL 0.9.6 or later required.\n"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue