ruby-changes:15961
From: nagai <ko1@a...>
Date: Wed, 19 May 2010 23:45:32 +0900 (JST)
Subject: [ruby-changes:15961] Ruby:r27904 (trunk): * ext/tk/extconf.rb: [Bug #3307] invalid result on searching tcl.h/tk.h. Thanks, Masaya Tarui.
nagai 2010-05-19 23:45:03 +0900 (Wed, 19 May 2010) New Revision: 27904 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27904 Log: * ext/tk/extconf.rb: [ruby-def:41334] [Bug #3307] invalid result on searching tcl.h/tk.h. Thanks, Masaya Tarui. Modified files: trunk/ChangeLog trunk/ext/tk/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 27903) +++ ChangeLog (revision 27904) @@ -1,3 +1,8 @@ +Wed May 19 23:36:57 2010 Hidetoshi NAGAI <nagai@a...> + + * ext/tk/extconf.rb: invalid result on searching tcl.h/tk.h. + [ruby-def:41334] [Bug #3307]. Thanks, Masaya Tarui. + Wed May 19 23:19:30 2010 Shugo Maeda <shugo@r...> * lib/net/imap.rb (disconnect): closes the socket of a Net::IMAP Index: ext/tk/extconf.rb =================================================================== --- ext/tk/extconf.rb (revision 27903) +++ ext/tk/extconf.rb (revision 27904) @@ -1,6 +1,6 @@ ############################################################## # extconf.rb for tcltklib -# release date: 2010-05-07 +# release date: 2010-05-19 ############################################################## require 'mkmf' @@ -989,7 +989,7 @@ end if TclConfig_Info['TCL_INCLUDE_SPEC'] && - have_tcl_h = try_cpp('tcl.h', TclConfig_Info['TCL_INCLUDE_SPEC']) + have_tcl_h = try_cpp('#include <tcl.h>', TclConfig_Info['TCL_INCLUDE_SPEC']) $INCFLAGS << " " << TclConfig_Info['TCL_INCLUDE_SPEC'] elsif have_tcl_h = have_header('tcl.h') # find @@ -1009,7 +1009,7 @@ end if TkConfig_Info['TK_INCLUDE_SPEC'] && - have_tk_h = try_cpp('tk.h', TkConfig_Info['TK_INCLUDE_SPEC']) + have_tk_h = try_cpp('#include <tk.h>', TkConfig_Info['TK_INCLUDE_SPEC']) $INCFLAGS << " " << TkConfig_Info['TK_INCLUDE_SPEC'] elsif have_tk_h = have_header('tk.h') # find -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/