mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

configure option `--disable-fastthread', to choose the original, pure ruby version of the "thread" library instead of the new, much faster implementation in ext/thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
9 lines
158 B
Ruby
9 lines
158 B
Ruby
require 'mkmf'
|
|
|
|
enable_config('fastthread', true) or exit
|
|
|
|
if with_config('mem-pools', true)
|
|
$CPPFLAGS << ' -DUSE_MEM_POOLS'
|
|
end
|
|
|
|
create_makefile("thread")
|