From: Andrew Tridgell Date: Sun, 21 Mar 2010 02:14:24 +0000 (-0400) Subject: build: tevent_epoll.c is conditional on HAVE_EPOLL X-Git-Tag: samba-3.6.0pre1~3515 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=6858e73e409c29bbfa694bc0ec5035290b4f7c54;p=sfrench%2Fsamba-autobuild%2F.git build: tevent_epoll.c is conditional on HAVE_EPOLL --- diff --git a/lib/tevent/wscript b/lib/tevent/wscript index be5405469cc..0a6f01163e4 100644 --- a/lib/tevent/wscript +++ b/lib/tevent/wscript @@ -27,10 +27,12 @@ def build(bld): bld.BUILD_SUBDIR(LIBREPLACE_DIR) bld.BUILD_SUBDIR(LIBTALLOC_DIR) - SRC = '''tevent.c tevent_debug.c tevent_epoll.c tevent_fd.c tevent_immediate.c + SRC = '''tevent.c tevent_debug.c tevent_fd.c tevent_immediate.c tevent_queue.c tevent_req.c tevent_select.c tevent_signal.c tevent_standard.c tevent_timed.c tevent_util.c tevent_wakeup.c''' + if bld.CONFIG_SET('HAVE_EPOLL'): + SRC += ' tevent_epoll.c' bld.SAMBA_LIBRARY('tevent', SRC,