configure.ac: Do not use pkg-config.

Instead, use AC_CHECK_HEADER and the check-specific macro
AM_PATH_CHECK.
Merge pull request #4 from twitter/no-pkg-config

configure.ac: Do not use pkg-config.