From 3ca633b890706c4f5892a179389b8389b5022dc0 Mon Sep 17 00:00:00 2001 From: nagai Date: Mon, 23 May 2011 22:37:44 +0000 Subject: * ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on some environment (reported on [ruby-talk:381444]). * ext/tk/lib/tk/canvas.rb: support creating a canvas item object from an item ID number. * ext/tk/lib/tk/image.rb: import documents which are pull-requested. [Ruby 1.9 - Feature #4595] * ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g. /usr/lib64), add some new configure options (see README.tcltklib), and bug fix. * ext/tk/lib/tk/README.tcltklib: modify docs for some new configure options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/README.tcltklib | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'ext/tk/README.tcltklib') diff --git a/ext/tk/README.tcltklib b/ext/tk/README.tcltklib index 52b64ce88a..0064586373 100644 --- a/ext/tk/README.tcltklib +++ b/ext/tk/README.tcltklib @@ -29,10 +29,35 @@ some or all of the following options. Old "extconf.rb" doesn't support this option. --with-tcltkversion= + --with-tcltkversion=, force version of Tcl/Tk libaray - (e.g. libtcl8.4g.so ==> --with-tcltkversion=8.4g) + (e.g. libtcl8.4g.so & libtk8.4g.so ==> --with-tcltkversion=8.4g + libtcl8.4.so & libtk8.4g.so ==> --with-tcltkversion=8.4,8.4g) + + --enable-tcl-h-ver-check/--disable-tcl-h-ver-check + --enable-tk-h-ver-check/--disable-tk-h-ver-check + enable or disable for checking MAJOR_VERSION and + MINOR_VERSION on tcl.h/tk.h whether match with + Tcl/Tk libraries' version or not. + + --with-tcl-build-dir= + --with-tk-build-dir= If you want to compile with libraries on Tcl/Tk + build dir (still NOT installed), you must use + these options. + (e.g. --with-tcl-build-dir=./build/tcl8.5.9/unix) + When use these options, --with-tclConfig-dir and + --with-tkConfig-dir options are ignored (however, + --with-tclConfig-file and --with-tkConfig-file + options are still available). + + --with-tclConfig-file=/--without-tclConfig-file + --with-tkConfig-file=/--without-tkConfig-file + file path of tclConfig.sh/tkConfig.sh, or don't + refer those. + If you want use non-standard filenames of config + files (e.g. tclConfig-static.sh), you must use + these options. - --without-tcl-config / --without-tk-config --with-tclConfig-dir= --with-tkConfig-dir= the directory contains 'tclConfig.sh' and 'tkConfig.sh'. -- cgit v1.2.3