From bc8a71ea4fee6e4ed35dad245511508ac0b7bf4b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 26 Jan 2011 17:40:01 +0000 Subject: GNUmakefile: only enable epoll-based models in Linux epoll is Linux-only right now. kqueue probably isn't worth supporting directly (and even direct epoll support is debatable given the current GVL situation) --- t/GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/t/GNUmakefile b/t/GNUmakefile index 538065c..21b5154 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -19,8 +19,10 @@ endif RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))') export RUBY_VERSION RUBY_ENGINE -models += XAcceptEpoll -models += Epoll +ifeq (Linux,$(shell uname -s)) + models += XAcceptEpoll + models += Epoll +endif models += WriterThreadPool models += WriterThreadSpawn models += ThreadPool -- cgit v1.2.3-24-ge0c7