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

ruby-changes:23654

From: kosaki <ko1@a...>
Date: Sat, 19 May 2012 04:52:10 +0900 (JST)
Subject: [ruby-changes:23654] kosaki:r35705 (trunk): * ext/openssl/extconf.rb: Use Logging::message instead of message.

kosaki	2012-05-19 04:51:58 +0900 (Sat, 19 May 2012)

  New Revision: 35705

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

  Log:
    * ext/openssl/extconf.rb: Use Logging::message instead of message.
    * ext/zlib/extconf.rb: ditto.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35704)
+++ ChangeLog	(revision 35705)
@@ -1,3 +1,8 @@
+Sat May 19 04:46:53 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* ext/openssl/extconf.rb: Use Logging::message instead of message.
+	* ext/zlib/extconf.rb: ditto.
+
 Fri May 18 18:13:44 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
Index: ext/zlib/extconf.rb
===================================================================
--- ext/zlib/extconf.rb	(revision 35704)
+++ ext/zlib/extconf.rb	(revision 35705)
@@ -15,7 +15,7 @@
 
   defines = []
 
-  message 'checking for kind of operating system... '
+  Logging::message 'checking for kind of operating system... '
   os_code = with_config('os-code') ||
     case RUBY_PLATFORM.split('-',2)[1]
     when 'amigaos' then
@@ -50,7 +50,7 @@
   unless OS_NAMES.key? os_code then
     raise "invalid OS_CODE `#{os_code}'"
   end
-  message "#{OS_NAMES[os_code]}\n"
+  Logging::message "#{OS_NAMES[os_code]}\n"
   defines << "OS_CODE=#{os_code}"
 
   $defs.concat(defines.collect{|d|' -D'+d})
Index: ext/openssl/extconf.rb
===================================================================
--- ext/openssl/extconf.rb	(revision 35704)
+++ ext/openssl/extconf.rb	(revision 35705)
@@ -20,7 +20,7 @@
 dir_config("openssl")
 dir_config("kerberos")
 
-message "=== OpenSSL for Ruby configurator ===\n"
+Logging::message "=== OpenSSL for Ruby configurator ===\n"
 
 ##
 # Adds -DOSSL_DEBUG for compilation and some more targets when GCC is used
@@ -30,12 +30,12 @@
   $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
 end
 
-message "=== Checking for system dependent stuff... ===\n"
+Logging::message "=== Checking for system dependent stuff... ===\n"
 have_library("nsl", "t_open")
 have_library("socket", "socket")
 have_header("assert.h")
 
-message "=== Checking for required stuff... ===\n"
+Logging::message "=== Checking for required stuff... ===\n"
 if $mingw
   have_library("wsock32")
   have_library("gdi32")
@@ -48,8 +48,8 @@
   result &&= %w[crypto libeay32].any? {|lib| have_library(lib, "OpenSSL_add_all_digests")}
   result &&= %w[ssl ssleay32].any? {|lib| have_library(lib, "SSL_library_init")}
   unless result
-    message "=== Checking for required stuff failed. ===\n"
-    message "Makefile wasn't created. Fix the errors above.\n"
+    Logging::message "=== Checking for required stuff failed. ===\n"
+    Logging::message "Makefile wasn't created. Fix the errors above.\n"
     exit 1
   end
 end
@@ -61,7 +61,7 @@
   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"
+Logging::message "=== Checking for OpenSSL features... ===\n"
 have_func("ERR_peek_last_error")
 have_func("ASN1_put_eoc")
 have_func("BN_mod_add")
@@ -146,8 +146,8 @@
 have_struct_member("EVP_CIPHER_CTX", "engine", "openssl/evp.h")
 have_struct_member("X509_ATTRIBUTE", "single", "openssl/x509.h")
 
-message "=== Checking done. ===\n"
+Logging::message "=== Checking done. ===\n"
 
 create_header
 create_makefile("openssl")
-message "Done.\n"
+Logging::message "Done.\n"

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

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