make use of pkg-config in configure.in
Merge pull request #2 from mody/mody-use-pkg-config

make use of pkg-config in configure.in