commit 825041fc8c2b36335cd1dfb62c2ae68a9399a015 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Fri May 1 11:45:06 2015 +0200
make the bdb check actually check for a linkable library it only checked whether the header is compilable. amends e1d0ea8a1. configure.ac | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index d7d3404..d9a0800 100644 --- a/configure.ac +++ b/configure.ac @@ -141,11 +141,16 @@ AC_SUBST(SASL_LIBS) AC_CACHE_CHECK([for Berkley DB >= 4.2], ac_cv_berkdb4, [ac_cv_berkdb4=no + sav_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -ldb" AC_TRY_LINK([#include <db.h>], [DB *db; + db_create(&db, 0, 0); db->truncate(db, 0, 0, 0); db->open(db, 0, "foo", "foo", DB_HASH, DB_CREATE, 0)], - [ac_cv_berkdb4=yes])]) + [ac_cv_berkdb4=yes]) + LDFLAGS=$sav_LDFLAGS + ]) if test "x$ac_cv_berkdb4" = xyes; then AC_SUBST([DB_LIBS], ["-ldb"]) AC_DEFINE(USE_DB, 1, [if Berkley DB should be used]) ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel