summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/external/libtevent.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/src/external/libtevent.m4 b/src/external/libtevent.m4
index 6a0e36af8..f19f27bf2 100644
--- a/src/external/libtevent.m4
+++ b/src/external/libtevent.m4
@@ -3,5 +3,11 @@ 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)])
+ [AC_CHECK_LIB(
+ tevent,
+ tevent_context_init,
+ [TEVENT_LIBS="-ltevent -ltalloc"],
+ [AC_MSG_ERROR([libtevent missing tevent_context_init])],
+ [-ltalloc]) ],
+ [PKG_CHECK_MODULES(TEVENT, tevent)],
+ )