libtdb.m4 revision 7b99fc9643001e22737c2c872c5d666218fc7ddc
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbAC_SUBST(TDB_CFLAGS)
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbAC_SUBST(TDB_LIBS)
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbPKG_CHECK_MODULES([TDB], [tdb >= 1.1.3], [found_tdb=yes], [found_tdb=no])
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbSSS_AC_EXPAND_LIB_DIR()
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbAS_IF([test x"$found_tdb" != xyes],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [AC_CHECK_HEADERS([tdb.h],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [AC_CHECK_LIB([tdb],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [tdb_repack],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [TDB_LIBS="-L$sss_extra_libdir -ltdb"],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [AC_MSG_ERROR([library TDB must support tdb_repack])],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [-L$sss_extra_libdir])],
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb [AC_MSG_ERROR([tdb header files are not installed])])]