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

ruby-changes:15003

From: nobu <ko1@a...>
Date: Fri, 12 Mar 2010 06:49:22 +0900 (JST)
Subject: [ruby-changes:15003] Ruby:r26878 (trunk): * ext/tk/extconf.rb: log() is built-in in some compilers and needs

nobu	2010-03-12 06:49:02 +0900 (Fri, 12 Mar 2010)

  New Revision: 26878

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

  Log:
    * ext/tk/extconf.rb: log() is built-in in some compilers and needs
      proper declaration.

  Modified files:
    trunk/ChangeLog
    trunk/ext/tk/extconf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26877)
+++ ChangeLog	(revision 26878)
@@ -1,3 +1,8 @@
+Fri Mar 12 06:48:58 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/tk/extconf.rb: log() is built-in in some compilers and needs
+	  proper declaration.
+
 Fri Mar 12 06:37:13 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* sample/timeout.rb: split from lib/timeout.rb.
Index: ext/tk/extconf.rb
===================================================================
--- ext/tk/extconf.rb	(revision 26877)
+++ ext/tk/extconf.rb	(revision 26878)
@@ -634,7 +634,7 @@
   TkLib_Config["tclConfig-dir"] = tclConfig_dir
   TkLib_Config["tkConfig-dir"] = tkConfig_dir
 
-  print("Search tclConfig.sh and tkConfig.sh.")
+  print("Search tclConfig.sh and tkConfig.sh in #{tclConfig_dir}.")
   if tclConfig_dir
     tclConfig, tkConfig = 
       search_tclConfig([ ((tclConfig_file)? tclConfig_file: tclConfig_dir), 
@@ -1273,7 +1273,7 @@
   print(".") # progress
   have_library("dl", "dlopen")
   print(".") # progress
-  have_library("m", "log")
+  have_library("m", "log", "math.h")
   print("\n") # progress
 end
 $CPPFLAGS += ' -D_WIN32' if /cygwin/ =~ RUBY_PLATFORM

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

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