diff options
Diffstat (limited to 'ext/posix_mq/extconf.rb')
-rw-r--r-- | ext/posix_mq/extconf.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/posix_mq/extconf.rb b/ext/posix_mq/extconf.rb new file mode 100644 index 0000000..b45cff6 --- /dev/null +++ b/ext/posix_mq/extconf.rb @@ -0,0 +1,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") |