tevent: move samba4 stuff from libtevent.m4 to samba.m4
[ira/wip.git] / lib / tevent / samba.m4
1
2 teventdir="\$(libteventsrcdir)"
3 m4_include(../lib/tevent/libtevent.m4)
4
5 SMB_EXT_LIB(LIBTEVENT_EXT, [${TEVENT_LIBS}])
6 SMB_ENABLE(LIBTEVENT_EXT)
7
8 SMB_SUBSYSTEM(LIBTEVENT,
9         [\$(addprefix \$(libteventsrcdir)/, ${TEVENT_OBJ})],
10         [LIBTEVENT_EXT],
11         [${TEVENT_CFLAGS}])
12
13 SMB_MAKE_SETTINGS([
14 PUBLIC_HEADERS += \$(addprefix \$(libteventsrcdir)/, tevent.h tevent_internal.h)
15 ])
16