summaryrefslogtreecommitdiff
path: root/ruby_1_8_6/ext/thread/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_6/ext/thread/extconf.rb')
-rw-r--r--ruby_1_8_6/ext/thread/extconf.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/ruby_1_8_6/ext/thread/extconf.rb b/ruby_1_8_6/ext/thread/extconf.rb
new file mode 100644
index 0000000000..2f984efc6d
--- /dev/null
+++ b/ruby_1_8_6/ext/thread/extconf.rb
@@ -0,0 +1,9 @@
+require 'mkmf'
+
+enable_config('fastthread', true) or exit
+
+if with_config('mem-pools', true)
+ $CPPFLAGS << ' -DUSE_MEM_POOLS'
+end
+
+create_makefile("thread")