Add the libdb2 type-existence tests to the top-level configure script.