summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index f75f88fc408..1df599c373a 100644
--- a/configure.in
+++ b/configure.in
@@ -1821,7 +1821,12 @@ then
sql_server_dirs="$have_berkeley_db/build_unix $sql_server_dirs"
echo "CONFIGURING FOR BERKELEY DB"
- (cd $bdb && cd build_unix && sh ../dist/configure) \
+ bdb_conf_flags=
+ if test $with_debug = "yes"
+ then
+ bdb_conf_flags="$bdb_conf_flags --enable-debug --enable-diagnostic"
+ fi
+ (cd $bdb && cd build_unix && sh ../dist/configure $bdb_conf_flags) \
|| AC_MSG_ERROR([could not configure Berkeley DB])
echo "Modifying Berkeley DB install target"