summaryrefslogtreecommitdiff
path: root/server/external/libtevent.m4
blob: 6a0e36af8b21b17ae6b21b8576c0421e86aed1d8 (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"]) ],
   [PKG_CHECK_MODULES(TEVENT, tevent)])