I was trying to compile xchat from the source when I learned I did not have pkg-config. I went to www.freedesktop.org/software/pkgconfig/ and downloaded the latest version from cvs.
Now, I try to run the autoconfig for pkgconfig and it gave me the following:
patching file gstrfuncs.c...