diff options
Diffstat (limited to 'server/external')
-rw-r--r-- | server/external/libevents.m4 | 6 | ||||
-rw-r--r-- | server/external/libldb.m4 | 2 |
2 files changed, 4 insertions, 4 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)]) diff --git a/server/external/libldb.m4 b/server/external/libldb.m4 index cb5f378d..e0b7d42f 100644 --- a/server/external/libldb.m4 +++ b/server/external/libldb.m4 @@ -3,5 +3,5 @@ AC_SUBST(LDB_CFLAGS) AC_SUBST(LDB_LIBS) AC_CHECK_HEADER(ldb.h, - [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], , -levents) ], + [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], , -ltevent) ], [PKG_CHECK_MODULES(LDB, ldb >= 0.9.2)]) |