summaryrefslogtreecommitdiff
path: root/server/external/libevents.m4
blob: 2aabb06d5a003a5758af8bac39563533fdcca80f (plain)
1
2
3
4
5
6
7
AC_SUBST(EVENTS_OBJ)
AC_SUBST(EVENTS_CFLAGS)
AC_SUBST(EVENTS_LIBS)

AC_CHECK_HEADER(tevent.h,
   [AC_CHECK_LIB(tevent, event_context_init, [EVENTS_LIBS="-ltevent"]) ],
   [PKG_CHECK_MODULES(EVENTS, tevent)])