diff options
author | H_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-11 01:27:48 +0000 |
---|---|---|
committer | H_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-11 01:27:48 +0000 |
commit | d0b3651906aa943423e430a61437a42f7dd39422 (patch) | |
tree | 9d8c8beee149c50f44406ee8cd6dee4c3913c28f /ext/tcltklib/extconf.rb | |
parent | ceade7b9268e9620b123843afeb25a7136f8a576 (diff) | |
download | ruby-d0b3651906aa943423e430a61437a42f7dd39422.tar.gz |
new platform [bccwin32] merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/extconf.rb')
-rw-r--r-- | ext/tcltklib/extconf.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/tcltklib/extconf.rb b/ext/tcltklib/extconf.rb index fd98b1e7da..d58c8045a0 100644 --- a/ext/tcltklib/extconf.rb +++ b/ext/tcltklib/extconf.rb @@ -2,7 +2,7 @@ require 'mkmf' -if RUBY_PLATFORM !~ /mswin32|mingw|cygwin/ +if RUBY_PLATFORM !~ /mswin32|mingw|cygwin|bccwin32/ have_library("nsl", "t_open") have_library("socket", "socket") have_library("dl", "dlopen") @@ -22,7 +22,7 @@ def find_tcl(tcllib, stubs) func = stubs ? "Tcl_InitStubs" : "Tcl_FindExecutable" if tcllib find_library(tcllib, func, *paths) - elsif RUBY_PLATFORM =~ /mswin32|mingw|cygwin/ + elsif RUBY_PLATFORM =~ /mswin32|mingw|cygwin|bccwin32/ find_library("tcl", func, *paths) or find_library("tcl84", func, *paths) or find_library("tcl83", func, *paths) or @@ -44,7 +44,7 @@ def find_tk(tklib, stubs) func = stubs ? "Tk_InitStubs" : "Tk_Init" if tklib find_library(tklib, func, *paths) - elsif RUBY_PLATFORM =~ /mswin32|mingw|cygwin/ + elsif RUBY_PLATFORM =~ /mswin32|mingw|cygwin|bccwin32/ find_library("tk", func, *paths) or find_library("tk84", func, *paths) or find_library("tk83", func, *paths) or @@ -62,7 +62,7 @@ def find_tk(tklib, stubs) end if have_header("tcl.h") && have_header("tk.h") && - (/mswin32|mingw|cygwin/ =~ RUBY_PLATFORM || find_library("X11", "XOpenDisplay", + (/mswin32|mingw|cygwin|bccwin32/ =~ RUBY_PLATFORM || find_library("X11", "XOpenDisplay", "/usr/X11/lib", "/usr/X11R6/lib", "/usr/openwin/lib")) && find_tcl(tcllib, stubs) && find_tk(tklib, stubs) |