summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/external/libevents.m4
blob: 24534f2c2123e3e86f0ea60ebe4b68fe6705f896 (plain)
1
2
3
4
5
6
7
AC_SUBST(TEVENT_OBJ)
AC_SUBST(TEVENT_CFLAGS)
AC_SUBST(TEVENT_LIBS)

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