From 40b3033aa688a2758a0e958a65000e450d474f97 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Dec 2010 18:23:25 -0800 Subject: enforce locking for TDB creation/destroy TDB objects aren't created often, so this shouldn't be noticeable, and there's no other way if any notion of thread-safety is desired. --- ext/tdb/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/tdb/extconf.rb') diff --git a/ext/tdb/extconf.rb b/ext/tdb/extconf.rb index 5359f7d..f7bb223 100644 --- a/ext/tdb/extconf.rb +++ b/ext/tdb/extconf.rb @@ -9,5 +9,7 @@ have_library('tdb') or abort 'libtdb missing' have_func('tdb_jenkins_hash') have_func('tdb_repack') have_const('TDB_ERR_NESTING', 'tdb.h') +have_header('pthread.h') +have_library('pthread') create_makefile('tdb_ext') -- cgit v1.2.3-24-ge0c7