diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-11 21:49:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-11 21:49:02 +0000 |
commit | de850442f28953081c18155fa91f7449016f4400 (patch) | |
tree | 17565091fc913b10bf2b041d462173cc05519900 /ext | |
parent | 831eb93069492c82fa997287c77ca8d9f2ad8668 (diff) |
* ext/tk/extconf.rb: log() is built-in in some compilers and needs
proper declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tk/extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index e3deebda05..288c5e920a 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -634,7 +634,7 @@ def get_tclConfig(tclConfig_file, tkConfig_file, tclConfig_dir, tkConfig_dir) 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 @@ unless is_win32? 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 |