Adding autoconf tests for PostgreSQL and SQLite3.
Updating autoconf perl tests.