summaryrefslogtreecommitdiff
path: root/server/external/libevents.m4
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-03 13:01:57 -0400
committerSimo Sorce <idra@samba.org>2008-10-04 11:14:49 -0400
commit4458162a943a432b5f8517182e2ee7aab2590f85 (patch)
tree7b29a7ed33632565e216509f6f010be2dbbbb19c /server/external/libevents.m4
parent9bd63b97c9c3132a0b3c8c6bd1c67f8c31a54c3c (diff)
downloadsssd-4458162a943a432b5f8517182e2ee7aab2590f85.tar.gz
sssd-4458162a943a432b5f8517182e2ee7aab2590f85.tar.bz2
sssd-4458162a943a432b5f8517182e2ee7aab2590f85.zip
Initital server code.
Includes test monitor task.
Diffstat (limited to 'server/external/libevents.m4')
-rw-r--r--server/external/libevents.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/server/external/libevents.m4 b/server/external/libevents.m4
new file mode 100644
index 00000000..4fd2e71e
--- /dev/null
+++ b/server/external/libevents.m4
@@ -0,0 +1,7 @@
+AC_SUBST(EVENTS_OBJ)
+AC_SUBST(EVENTS_CFLAGS)
+AC_SUBST(EVENTS_LIBS)
+
+AC_CHECK_HEADER(events.h,
+ [AC_CHECK_LIB(events, event_context_init, [EVENTS_LIBS="-levents"]) ],
+ [PKG_CHECK_MODULES(EVENTS, events)])