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.
Pkg-Config will use an included version of Popt to parse command line options. If an external version of Popt is desired, install that version using the BLFS Popt build instructions before installing Pkg-config.
Prepare Pkg-config for compilation:
Compile the package:
To test the results, issue:
Install the package: