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

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

have_header("mqueue.h") or abort "mqueue.h header missing"
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