diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-24 08:33:45 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-24 08:33:45 +0000 |
| commit | 0e4fa55303ee106b89bc2b239f4490f307e60909 (patch) | |
| tree | 2844e0b9ab733842bd4a3f1b37094e6dc62d9ace /ext/tcltklib/README.1st | |
| parent | 0aae0dec16f182f25f705e5cbcbf72e03f5a1138 (diff) | |
| download | ruby-0e4fa55303ee106b89bc2b239f4490f307e60909.tar.gz ruby-0e4fa55303ee106b89bc2b239f4490f307e60909.tar.xz ruby-0e4fa55303ee106b89bc2b239f4490f307e60909.zip | |
* ext/tcltklib/extconf.rb: add --enable-tcl-thread configure option and
--with-tclConfig-file=<path of tclConfig.sh> configure option
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/README.1st')
| -rw-r--r-- | ext/tcltklib/README.1st | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/tcltklib/README.1st b/ext/tcltklib/README.1st index 48e3a2b66..84a7826fd 100644 --- a/ext/tcltklib/README.1st +++ b/ext/tcltklib/README.1st @@ -35,7 +35,19 @@ When your Tcl/Tk libraries are compiled with "pthread support", Ruby/Tk may cause "Hang-up" or "Segmentation Fault" frequently. If you have such a trouble, please try to use the '--enable-pthread' option of the 'configure' command and re-compile Ruby sources. -It may help you to avoid this trouble. +It may help you to avoid this trouble. The following configure +options may be useful. + + --enable-tcl-thread/--disable-tcl-thread + --with-tclConfig-file=<path of 'tclConfig.sh'> + +It is not need that 'tclConfig.sh' is a normal Tcl/Tk's tclConfig.sh. +But the file is expected to include the line "TCL_THREADS=0" or "...=1". +When no "TCL_THREADS=?" line, if Tcl version is 7.x or 8.0 which is +given by "TCL_MAJOR_VERSION=?" line and "TCL_MINOR_VERSION=?" line, +then --disable-tcl-thread is expected. Else, ignore the 'tclConfig.sh'. +If --enable-tcl-thread or --disable-tcl-thread option is given, then +--with-tclConfig-file option is ignored. ========================================================== Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) |
