added --with-db and --with-gdbm options to configure