From 02db1bdf776c06839de78e557f8259f2c3803e5b Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 10 Feb 2007 21:41:26 +0000 Subject: * 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 --- ext/thread/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext') diff --git a/ext/thread/extconf.rb b/ext/thread/extconf.rb index efe1d5dbe5..2f984efc6d 100644 --- a/ext/thread/extconf.rb +++ b/ext/thread/extconf.rb @@ -1,5 +1,7 @@ require 'mkmf' +enable_config('fastthread', true) or exit + if with_config('mem-pools', true) $CPPFLAGS << ' -DUSE_MEM_POOLS' end -- cgit v1.2.3