summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 09:29:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:00 +1000
commit00649a9c6266f959dbc7d857180e43f2b1363844 (patch)
tree52fb65dfd462e2a4baf5865a1a6c662c7f9dffc0 /lib/tevent
parentf95ca1afc984ecf295b9181b2f699a72afcb4772 (diff)
downloadsamba-00649a9c6266f959dbc7d857180e43f2b1363844.tar.gz
samba-00649a9c6266f959dbc7d857180e43f2b1363844.tar.bz2
samba-00649a9c6266f959dbc7d857180e43f2b1363844.zip
build: updated configure checks or new syntax
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 0a6f01163e..6d7414addb 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -18,8 +18,8 @@ def configure(conf):
conf.sub_config(LIBREPLACE_DIR)
conf.sub_config(LIBTALLOC_DIR)
- conf.CHECK_HEADERS('sys/epoll.h')
- conf.CHECK_FUNCS('epoll_create')
+ if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
+ conf.DEFINE('HAVE_EPOLL', 1)
conf.SAMBA_CONFIG_H()