summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--openpower-dbus-interfaces.pc.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 09cfed9..96bb1dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,10 @@ AS_IF([test "x$enable_libopenpower_dbus" != "xno"], [
AS_IF([test "x$SDBUSPLUSPLUS" == "x"],
AC_MSG_ERROR([Cannot find sdbus++]))
+ # Checks for libraries.
+ AX_PKG_CHECK_MODULES([SYSTEMD], [], [libsystemd >= 221], [],)
+ AX_PKG_CHECK_MODULES([SDBUSPLUS], [], [sdbusplus], [],)
+
# Check for baseline language coverage in the compiler for the C++14 standard
AX_CXX_COMPILE_STDCXX_17([noext])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CFLAGS])
diff --git a/openpower-dbus-interfaces.pc.in b/openpower-dbus-interfaces.pc.in
index 7018987..5ec151e 100644
--- a/openpower-dbus-interfaces.pc.in
+++ b/openpower-dbus-interfaces.pc.in
@@ -7,5 +7,6 @@ Name: openpower-dbus-interfaces
Description: Generated sdbusplus bindings for openpower-dbus-interfaces.
URL: https://github.com/openbmc/openpower-dbus-interfaces
Version: @VERSION@
+Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
Libs: -L@libdir@ -lopenpower_dbus
Cflags: -I@includedir@
OpenPOWER on IntegriCloud