configure: Use pkg-config for CPPFLAGS
If you build phosphor-dbus-interfaces against an sdbusplus that resides
in a non-standard include location the configure system should still be able
to locate the headers based on the pkg-config information. Since
AC_CHECK_HEADERS uses the CPPFLAGS variable when calling `cpp` to check for
headers, we need to temporarily add the CFLAGS provide by the sdbusplus module.
This populates CPPFLAGS with the include prefixes necessary to find the
headers for sdpbusplus.
Change-Id: I1e3fc50daf5aa5e3025441d469db20fcc0f7f0b4
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed