From 00649a9c6266f959dbc7d857180e43f2b1363844 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Mar 2010 09:29:51 +1100 Subject: build: updated configure checks or new syntax --- lib/tevent/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tevent/wscript') 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() -- cgit