TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / lib / tevent / samba.m4
diff --git a/ctdb/lib/tevent/samba.m4 b/ctdb/lib/tevent/samba.m4
new file mode 100644 (file)
index 0000000..549f39d
--- /dev/null
@@ -0,0 +1,11 @@
+
+teventdir="\$(libteventsrcdir)"
+m4_include(../lib/tevent/libtevent.m4)
+
+SMB_EXT_LIB(LIBTEVENT_EXT, [${TEVENT_LIBS}])
+SMB_ENABLE(LIBTEVENT_EXT)
+
+SMB_SUBSYSTEM(LIBTEVENT,
+       [\$(addprefix \$(libteventsrcdir)/, ${TEVENT_OBJ})],
+       [LIBTEVENT_EXT],
+       [${TEVENT_CFLAGS}])