summaryrefslogtreecommitdiff
path: root/server/external/libevents.m4
diff options
context:
space:
mode:
Diffstat (limited to 'server/external/libevents.m4')
-rw-r--r--server/external/libevents.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/server/external/libevents.m4 b/server/external/libevents.m4
index 4fd2e71e..2aabb06d 100644
--- a/server/external/libevents.m4
+++ b/server/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)])