ruby_posix_mq.git  about / heads / tags
POSIX message queues for Ruby
blob b9e8963e973356bc85fafa179f3f7aff6b6a58ed 331 bytes (raw)
$ git show v0.2.0:ext/posix_mq/extconf.rb	# shows this blob on the CLI

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

have_header("sys/select.h")
have_header("signal.h")
have_header("mqueue.h") or abort "mqueue.h header missing"
have_func("__mq_oshandle")
have_func("rb_str_set_len")
have_func("rb_struct_alloc_noinit")
have_func('rb_thread_blocking_region')
have_library("rt")
dir_config("posix_mq")
create_makefile("posix_mq_ext")

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