The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.
First fix a problem with underquoting that shows up in later versions of autoconf:
sed -i -e 's/XT])dnl/XT])dnl/' \ -e 's/\.])dnl/\.])dnl/' pkg.m4
Prepare Pkg-config for compilation:
Compile the package:
To test the results, issue:
Install the package: