[前][次][番号順一覧][スレッド一覧]

ruby-changes:23392

From: nobu <ko1@a...>
Date: Mon, 23 Apr 2012 22:49:10 +0900 (JST)
Subject: [ruby-changes:23392] nobu:r35443 (trunk): --with-broken-apple-openssl option

nobu	2012-04-23 22:48:47 +0900 (Mon, 23 Apr 2012)

  New Revision: 35443

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35443

  Log:
    --with-broken-apple-openssl option
    
    * ext/openssl/extconf.rb: add --with-broken-apple-openssl option.

  Modified files:
    trunk/ext/openssl/extconf.rb

Index: ext/openssl/extconf.rb
===================================================================
--- ext/openssl/extconf.rb	(revision 35442)
+++ ext/openssl/extconf.rb	(revision 35443)
@@ -59,7 +59,9 @@
 end
 if try_compile("", flag = "-Werror=deprecated-declarations")
   unless have_func("SSL_library_init()", "openssl/ssl.h", flag)
-    abort "Ignore OpenSSL broken by Apple"
+    with_config("broken-apple-openssl") or
+      abort "Ignore OpenSSL broken by Apple"
+    $warnflags << " -Wno-deprecated-declarations"
   end
 end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]