summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 06:24:34 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 06:24:34 +0000
commit4e9a880916bd99057a2af4ed022fdcb87de4d645 (patch)
treeaac94ddbf7ff87f54ec002266c801e4bccfc2da3
parent899bf4981a17846ac205383e47fa0cf8428dacd0 (diff)
* ext/openssl/extconf.rb: Clarify a message when hit Apple
OpenSSL issue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/openssl/extconf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index df674d1552..bf92792ce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 18 15:23:06 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * ext/openssl/extconf.rb: Clarify a message when hit Apple
+ OpenSSL issue.
+
Fri May 18 15:14:32 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/extmk.rb: Show a message when extconf.rb raised an exception.
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index 6d89fd5f64..f0292e5078 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -58,7 +58,7 @@ unless have_header("openssl/conf_api.h")
raise "OpenSSL 0.9.6 or later required."
end
unless OpenSSL.check_func("SSL_library_init()", "openssl/ssl.h")
- raise "Ignore OpenSSL broken by Apple"
+ raise "Ignore OpenSSL broken by Apple.\nPlease use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')"
end
message "=== Checking for OpenSSL features... ===\n"