projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b830a89
)
guess HAVE_EPOLL
author
Brendan O'Dea
<bod@optus.net>
Mon, 6 Jun 2005 05:41:59 +0000
(
05:41
+0000)
committer
Brendan O'Dea
<bod@optus.net>
Mon, 6 Jun 2005 05:41:59 +0000
(
05:41
+0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
9cd6ff5
..
eea166c
100644
(file)
--- 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