Skip to content

Commit

Permalink
Allow choosing a particular version of BerkeleyDB via --with-bdb-vers…
Browse files Browse the repository at this point in the history
  • Loading branch information
gahr authored Feb 19, 2018
1 parent 2f72754 commit 676c48e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auto.def
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ options {
# Header cache
bdb=0 => "Use BerkeleyDB for the header cache"
with-bdb:path => "Location of BerkeleyDB"
with-bdb-version:version => "Version of BerkeleyDB"
gdbm=0 => "Use GNU dbm for the header cache"
with-gdbm:path => "Location of GNU dbm"
kyotocabinet=0 => "Use KyotoCabinet for the header cache"
Expand Down Expand Up @@ -637,7 +638,7 @@ if {[get-define want-idn]} {
###############################################################################
# Header cache - bdb
if {[get-define want-bdb]} {
set bdb_versions { 5.3 6.2 4.8 } ;# Will be checked in order
set bdb_versions [opt-val with-bdb-version { 5.3 6.2 4.8 }] ;# Will be checked in order
set bdb_prefix [opt-val with-bdb $prefix]

foreach ver $bdb_versions {
Expand Down

0 comments on commit 676c48e

Please sign in to comment.