From: Brendan O'Dea Date: Mon, 6 Jun 2005 05:41:59 +0000 (+0000) Subject: guess HAVE_EPOLL X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~169 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/661da3eec49401ca2c1c81b7f4a84a66fa0c9f1b?ds=sidebyside;hp=b830a899ca4587707123482c5dbb8c14edb8fd9c guess HAVE_EPOLL --- diff --git a/Makefile b/Makefile index 9cd6ff5..eea166c 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,10 @@ TESTS = generateload bounce DEFINES += -DSTATISTICS DEFINES += -DSTAT_CALLS DEFINES += -DRINGBUFFER -DEFINES += -DHAVE_EPOLL + +ifneq (2.4, $(shell uname -r | perl -pe 's/^(\d+\.\d+).*/$$1/')) + DEFINES += -DHAVE_EPOLL +endif DEFINES += -DBGP OBJS += bgp.o