From bc8e65073588035b6d6d272be8c697a8dc27ee81 Mon Sep 17 00:00:00 2001 From: nagai Date: Thu, 29 Jul 2010 22:54:01 +0000 Subject: * ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty, even if MacOS X Aqua version [ruby-dev:41883]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/extconf.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext') diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index 3f46562f37..388d6fc1aa 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -1,6 +1,6 @@ ############################################################## # extconf.rb for tcltklib -# release date: 2010-05-31 +# release date: 2010-07-30 ############################################################## require 'mkmf' @@ -1224,11 +1224,11 @@ def search_X_libraries puts("Can't find X11 libraries. So, can't make tcltklib.so which is required by Ruby/Tk.") exit end + end - if TkConfig_Info['TK_XINCLUDES'] && - !TkConfig_Info['TK_XINCLUDES'].strip.empty? - $INCFLAGS << " " << TkConfig_Info['TK_XINCLUDES'].strip - end + if TkConfig_Info['TK_XINCLUDES'] && + !TkConfig_Info['TK_XINCLUDES'].strip.empty? + $INCFLAGS << " " << TkConfig_Info['TK_XINCLUDES'].strip end use_X -- cgit v1.2.3