summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libtdb.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/server/external/libtdb.m4 b/server/external/libtdb.m4
index 8c2cab70..196bc5cc 100644
--- a/server/external/libtdb.m4
+++ b/server/external/libtdb.m4
@@ -2,6 +2,7 @@ AC_SUBST(TDB_OBJ)
AC_SUBST(TDB_CFLAGS)
AC_SUBST(TDB_LIBS)
-AC_CHECK_HEADER(tdb.h,
- [AC_CHECK_LIB(tdb, tdb_open, [TDB_LIBS="-ltdb"]) ],
- [PKG_CHECK_MODULES(TDB, tdb >= 1.1.0)])
+AC_CHECK_HEADERS([tdb.h],
+ [AC_CHECK_LIB(tdb, tdb_repack, [TDB_LIBS="-ltdb"], [AC_MSG_ERROR([TDB must support tdb_repack])]) ],
+ [PKG_CHECK_MODULES(TDB, tdb >= 1.1.3)]
+)