2 have_header('sys/epoll.h') or abort 'sys/epoll.h not found'
3 have_header("pthread.h") or abort 'pthread.h not found'
4 have_header('sys/eventfd.h')
5 have_header('sys/signalfd.h')
6 have_header('sys/timerfd.h')
7 have_header('sys/inotify.h')
8 have_header('sys/signalfd.h')
9 have_header('ruby/io.h') and have_struct_member('rb_io_t', 'fd', 'ruby/io.h')
10 have_func('epoll_create1', %w(sys/epoll.h))
11 have_func('rb_thread_blocking_region')
12 have_library('pthread')
13 create_makefile('sleepy_penguin_ext')