X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/ec4de7f8c59e136f02451f4adfbe87b6d7ef36af..2f4435f0a697bee400317200bbe3fbcaeb83383e:/Makefile?ds=inline 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