summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-02-13 15:10:50 -0800
committerPatrick Venture <venture@google.com>2019-02-13 15:10:50 -0800
commit1384cde059be80ad0c8554cfc2975893af55c86b (patch)
treeac1a8cf6650fa7c4e057b098f6f8b697813c0a1e /configure.ac
parent6b22dbb2a115342a3e46f07503636b04e5ed26ac (diff)
downloadphosphor-inventory-manager-1384cde059be80ad0c8554cfc2975893af55c86b.tar.gz
phosphor-inventory-manager-1384cde059be80ad0c8554cfc2975893af55c86b.zip
build: pkg anti-pattern: use defaults
Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing. Change-Id: Ie8279e319c33bdbb9425c2d1a3d0e50b6a5150c1 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 84a946f..482fa5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,9 +21,9 @@ AM_PATH_PYTHON([2.7],
# Checks for libraries.
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221])
-PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],, AC_MSG_ERROR(["Requires sdbusplus package."]))
-PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces],, AC_MSG_ERROR(["Requires phosphor-dbus-interfaces package."]))
-PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, AC_MSG_ERROR(["Requires phosphor-logging."]))
+PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])
+PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces])
+PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
# Checks for typedefs, structures, and compiler characteristics.
AX_CXX_COMPILE_STDCXX_17([noext])
OpenPOWER on IntegriCloud