projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
guess HAVE_EPOLL
[l2tpns.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8ac1656
..
eea166c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-38,6
+38,10
@@
DEFINES += -DSTATISTICS
DEFINES += -DSTAT_CALLS
DEFINES += -DRINGBUFFER
+ifneq (2.4, $(shell uname -r | perl -pe 's/^(\d+\.\d+).*/$$1/'))
+ DEFINES += -DHAVE_EPOLL
+endif
+
DEFINES += -DBGP
OBJS += bgp.o