summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-22 10:07:46 -0800
committerRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-12-06 18:27:35 +0000
commit9a85a2c11002f8d62c596d22228bed2d4f81e787 (patch)
treed35e46ef72dfc15ae8ee55b45b43acfab91697e9
parent35297177b81061c3ac6658412c6306556849790a (diff)
downloadphosphor-networkd-9a85a2c11002f8d62c596d22228bed2d4f81e787.tar.gz
phosphor-networkd-9a85a2c11002f8d62c596d22228bed2d4f81e787.zip
build: use PKG_CHECK_MODULES for phosphor-dbus-interfaces
For the phosphor-dbus-interfaces check, use PKG_CHECK_MODULES. The CI wasn't checking for this macro to know to pull phosphor-dbus-interfaces Also, for consistency. There is not an advantage to using this instead of the regular package script. Change-Id: I3c7f2dc4830d461078a1fd35b7ecd72c7260b3b2 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b7bfd18..1bc24c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,13 +42,13 @@ AC_PATH_PROG([SDBUSPLUSPLUS], [sdbus++])
PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],,\
AC_MSG_ERROR(["Requires phosphor-logging package."]))
+PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces],\
+[], [AC_MSG_ERROR(["phosphor-dbus-interfaces required and not found."])])
+
# Checks for header files.
AC_CHECK_HEADER(systemd/sd-bus.h, ,\
[AC_MSG_ERROR([Could not find systemd/sd-bus.h...systemd development package required])])
-AX_PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [], [phosphor-dbus-interfaces],\
-[], [AC_MSG_ERROR(["phosphor-dbus-interfaces required and not found."])])
-
# Checks for typedefs, structures, and compiler characteristics.
AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wno-unused-result], [CFLAGS])
OpenPOWER on IntegriCloud