diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 04:17:03 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 04:17:03 +0000 |
commit | 13fde676feb8c1280f674cb7537fb680bb86eef7 (patch) | |
tree | 5ef382441ec9e73d90dfc93f84062bfe598dd98c /ext/tcltklib/extconf.rb | |
parent | 7d6f48ccd22e93b6213514962a6ded168cad2966 (diff) | |
download | ruby-13fde676feb8c1280f674cb7537fb680bb86eef7.tar.gz |
* ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and RELEASE_DATE
* ext/tcltklib/extconf.rb: ditto
* ext/tk/lib/tkutil.c: define Tk::RELEASE_DATE
* ext/tk/lib/tk.rb: define Tk::RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/extconf.rb')
-rw-r--r-- | ext/tcltklib/extconf.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/tcltklib/extconf.rb b/ext/tcltklib/extconf.rb index 0635eea9e0..201768cb0d 100644 --- a/ext/tcltklib/extconf.rb +++ b/ext/tcltklib/extconf.rb @@ -202,6 +202,12 @@ EOF end # ruby -> enable && tcl -> enable/disable + if tcl_enable_thread + $CPPFLAGS += ' -DWITH_TCL_ENABLE_THREAD=1' + else + $CPPFLAGS += ' -DWITH_TCL_ENABLE_THREAD=0' + end + return true else @@ -224,9 +230,11 @@ EOF ** ***************************************************************************** ') + $CPPFLAGS += ' -DWITH_TCL_ENABLE_THREAD=0' return false else # ruby -> disable && tcl -> disable + $CPPFLAGS += ' -DWITH_TCL_ENABLE_THREAD=1' return true end end |