raindrops.git  about / heads / tags
real-time stats for preforking Rack servers
blob d637287bdfc801b85a2df8e4e38abd3f140f5bfc 333 bytes (raw)
$ git show v0.3.0:ext/raindrops/extconf.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
require 'mkmf'

# FIXME: test for GCC __sync_XXX builtins here, somehow...
have_func('mmap', 'sys/mman.h') or abort 'mmap() not found'
have_func('munmap', 'sys/mman.h') or abort 'munmap() not found'

have_func("rb_struct_alloc_noinit")
have_func('rb_thread_blocking_region')

dir_config('raindrops')
create_makefile('raindrops_ext')

git clone https://yhbt.net/raindrops.git