From 7f1802b839eabae1ba84d22c5aaf03c8be2fae42 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 22 Apr 2007 13:28:42 +0200 Subject: [PATCH] configure.in: disable experimental db4 logging by default --- dist/configure.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dist/configure.in b/dist/configure.in index ba290506..abf4fddd 100644 --- a/dist/configure.in +++ b/dist/configure.in @@ -1030,14 +1030,16 @@ if test "x$with_db_build" != "x"; then fi; vi_cv_db4="no" -if test "x$vi_cv_dbsrc" != "x"; then +AC_ARG_ENABLE(log4, + [ --enable-db4-logging Enable experimental/broken db4 logging.], + [ AC_MSG_CHECKING(for DB 4) AC_EGREP_CPP([^4], [#include -DB_VERSION_MAJOR], + DB_VERSION_MAJOR], [vi_cv_db4="yes"], [vi_cv_db4="no"]) AC_MSG_RESULT($vi_cv_db4) -fi + ]) if test "$vi_cv_db4" = "yes"; then CPPFLAGS="-I$vi_cv_dbsrc/include $CPPFLAGS" CPPFLAGS="-I$vi_cv_dbsrc/include_auto $CPPFLAGS" -- 2.11.4.GIT