summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-20 05:49:14 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-20 05:49:14 +0000
commit54cd0e89285562dbbb19d6109a176023b83b78a4 (patch)
tree9a5144fee2b72d270d0b6f5bcb284e150910e51e
parent547bf04d99299f268ea2c03b553231277653a673 (diff)
downloadruby-54cd0e89285562dbbb19d6109a176023b83b78a4.tar.gz
ruby-54cd0e89285562dbbb19d6109a176023b83b78a4.tar.xz
ruby-54cd0e89285562dbbb19d6109a176023b83b78a4.zip
* ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
of OPENSSL_VERSION_NUMBER. [ruby-list:39056] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/openssl/extconf.rb10
2 files changed, 6 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 6bf2a0e32..3b1135d65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 20 14:48:28 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>
* lib/base64.rb: Add RDoc
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index afcb03816..47fa722cf 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 <openssl/opensslv.h>
-#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