We may not be able to update to Berkeley db 3 or 4 in the main tree because of licensing, but that doesn't mean people downloading it can't use these versions, as long as they provide the APIs we need. Add configure options to support this, similar to the options added for et, ss.