From 89c2c18b878e717c354e5a4246f8aa4af20ea588 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 10 Feb 2017 12:01:55 -0500 Subject: build: Use AX for pkg config Use an autoconf archive macro for pkg config so autoconf can fill out Requires.private in phosphor-dbus-interfaces.pc.in. Change-Id: Ica803a0f758871b192502be5c2cdc6e166337df2 Signed-off-by: Brad Bishop --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 64c28bc..ee42dbe 100644 --- a/configure.ac +++ b/configure.ac @@ -28,8 +28,8 @@ AS_IF([test "x$enable_libphosphor_dbus" != "xno"], [ AC_MSG_ERROR([Cannot find sdbus++])) # Checks for libraries. - PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221],, - [AC_MSG_ERROR(["systemd required and not found."])]) + AX_PKG_CHECK_MODULES([SYSTEMD], [], [libsystemd >= 221], [], [AC_MSG_ERROR(["systemd required and not found."])]) + AX_PKG_CHECK_MODULES([SDBUSPLUS], [], [sdbusplus], [], [AC_MSG_ERROR(["sdbusplus required and not found."])]) # Checks for typedefs, structures, and compiler characteristics. AX_CXX_COMPILE_STDCXX_14([noext]) -- cgit v1.2.1