about summary refs log tree commit homepage
path: root/ext/tdb/extconf.rb
blob: 5359f7d60929393a8d76b242041e84e0d7b7c494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'mkmf'

have_func('rb_thread_blocking_region')
have_func('rb_thread_call_with_gvl')

dir_config('tdb')
have_header('tdb.h') or abort 'tdb.h missing'
have_library('tdb') or abort 'libtdb missing'
have_func('tdb_jenkins_hash')
have_func('tdb_repack')
have_const('TDB_ERR_NESTING', 'tdb.h')

create_makefile('tdb_ext')