Reintroduce pkg-config with optional Makefile.config flag.
Merge pull request #1283 from jeffdonahue/optional-pkg-config

Reintroduce pkg-config with optional Makefile.config flag.
Merge pull request #1238 from kmatzen/db

leveldb/lmdb refactoring
Added first_key and last_key to dataset