From c4fc5f52f86e8e1da98fbe342988cf35711b26d6 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Tue, 20 Jan 2004 05:49:14 +0000 Subject: * ext/openssl/extconf.rb: should check 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 --- ext/openssl/extconf.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'ext/openssl/extconf.rb') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index afcb03816f..47fa722cf0 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -33,8 +33,6 @@ if with_config("debug") or enable_config("debug") end end - - message "=== Checking for system dependent stuff... ===\n" have_library("nsl", "t_open") have_library("socket", "socket") @@ -58,13 +56,7 @@ if !result end end -check_opensslv = <<_end_of_src_ -#include -#if OPENSSL_VERSION_NUMBER < 0x0090600fL -# error too old -#endif -_end_of_src_ -if !try_compile(check_opensslv) +unless have_header("openssl/conf_api.h") message "OpenSSL 0.9.6 or later required.\n" exit 1 end -- cgit v1.2.3