pkg-config is used to compile applications and libraries. It is really used to insert the correct command line arguments.
It is installed on most new releases of Linux, but is fairly common if it does not exist initially, so it should not be too hard to find.
Here's how to install it on ubuntu:
sudo apt-get install pkg-config
Here is the wikipedia page:
http://en.wikipedia.org/wiki/Pkg-config
Cetra source share