remove redundant check for tokyocabinet
improve error message when opening DB
Merge branch 'autoconf2'