The source project of this merge request has been removed.
Factor out pkg-config functionality to a separate module.
- Consistently check that return code from pkg-config is zero.
- Use shell word splitting rules to process pkg-config output to match
behaviour obtained by running
cc program.cc $(pkg-config --cflags ...). Fixes issue #171 (closed) .
- Use user preferred encoding to process output from pkg-config on Python 3. Python 2 behaviour defaults to using ascii encoding as before.