summaryrefslogtreecommitdiff
path: root/ldb/external
diff options
context:
space:
mode:
Diffstat (limited to 'ldb/external')
-rw-r--r--ldb/external/libevents.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ldb/external/libevents.m4 b/ldb/external/libevents.m4
index 4fd2e71e..2aabb06d 100644
--- a/ldb/external/libevents.m4
+++ b/ldb/external/libevents.m4
@@ -2,6 +2,6 @@ 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)])
+AC_CHECK_HEADER(tevent.h,
+ [AC_CHECK_LIB(tevent, event_context_init, [EVENTS_LIBS="-ltevent"]) ],
+ [PKG_CHECK_MODULES(EVENTS, tevent)])