ext/io/epoll/extconf.rb in io-epoll-0.1.0 vs ext/io/epoll/extconf.rb in io-epoll-0.2.0

- old
+ new

@@ -1,7 +1,8 @@ require 'mkmf' if !have_header("sys/epoll.h") - puts "*** err: <sys/epoll.h> header must be installed ***" - exit 1 + puts "*** complie error: gem 'io-epoll' must be installed <sys/epoll.h>. ***" + puts "*** you can require 'io/epoll'. But, you can not use IO::Epoll APIs. ***" end +have_func("epoll_create1", "sys/epoll.h") create_makefile('io/epoll/epoll')