1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/thread/extconf.rb
knu 02db1bdf77 * configure.in, ext/thread/extconf.rb, lib/thread.rb: Add a
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
2007-02-10 21:41:26 +00:00

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")