summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/external/libtdb.m4
blob: 2554f27d27edf5c1958a7021114fa40bab9eb8d0 (plain)
1
2
3
4
5
6
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.5)])