1 2 3 4 5 6 7
AC_SUBST(LDB_OBJ) AC_SUBST(LDB_CFLAGS) AC_SUBST(LDB_LIBS) AC_CHECK_HEADER(ldb.h, [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"]) ], [PKG_CHECK_MODULES(LDB, ldb >= 0.9.2)])