summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/external/libevents.m4
blob: af046f14307f8c17c149be35ac989aa4b3dab9a9 (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, tevent_context_init, [TEVENT_LIBS="-ltevent"], , -ltalloc) ],
   [PKG_CHECK_MODULES(TEVENT, tevent)])