ext/extconf.rb in nyara-0.0.1.pre.5 vs ext/extconf.rb in nyara-0.0.1.pre.6
- old
+ new
@@ -22,8 +22,10 @@
have_kqueue = (have_header("sys/event.h") and have_header("sys/queue.h"))
have_epoll = have_func('epoll_create', 'sys/epoll.h')
abort('no kqueue nor epoll') if !have_kqueue and !have_epoll
$defs << "-DNDEBUG -D#{have_epoll ? 'HAVE_EPOLL' : 'HAVE_KQUEUE'}"
+have_func('rb_ary_new_capa', 'ruby.h')
+
tweak_include
tweak_cflags
create_makefile 'nyara'