diff options
Diffstat (limited to 'src/external/libtdb.m4')
-rw-r--r-- | src/external/libtdb.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/external/libtdb.m4 b/src/external/libtdb.m4 new file mode 100644 index 000000000..196bc5ccb --- /dev/null +++ b/src/external/libtdb.m4 @@ -0,0 +1,8 @@ +AC_SUBST(TDB_OBJ) +AC_SUBST(TDB_CFLAGS) +AC_SUBST(TDB_LIBS) + +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)] +) |