summaryrefslogtreecommitdiff
path: root/server/external/libevents.m4
blob: 4fd2e71ec2a0393e225cd62f9244cac933d3ed70 (plain)
1
2
3
4
5
6
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)])