diff options
author | Patrick Venture <venture@google.com> | 2019-02-13 14:54:49 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-02-13 14:54:49 -0800 |
commit | 5e8ccb979c80044e0fa608f269f55b3613ecfd1c (patch) | |
tree | e0cd109ef42d49c05390fbef676adcec8a03f46a | |
parent | f5c2df5eef850900ece9aa8efeaa09ec083313c9 (diff) | |
download | phosphor-user-manager-5e8ccb979c80044e0fa608f269f55b3613ecfd1c.tar.gz phosphor-user-manager-5e8ccb979c80044e0fa608f269f55b3613ecfd1c.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: I09cf1888ea4f41b5c22d18d72b169d2ca32fc339
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index afcc901..e82dd1c 100644 --- a/configure.ac +++ b/configure.ac @@ -12,9 +12,9 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET # Checks for libraries. -PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],, [AC_MSG_ERROR([Could not find sdbusplus...openbmc/sdbusplus package required])]) -PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces],, [AC_MSG_ERROR([Could not find phosphor-dbus-interfaces...openbmc/phosphor-dbus-interfaces package required])]) -PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])]) +PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus]) +PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces]) +PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging]) AC_ARG_VAR(USER_MANAGER_BUSNAME, [The Dbus busname to own]) AS_IF([test "x$USER_MANAGER_BUSNAME" == "x"], [USER_MANAGER_BUSNAME="xyz.openbmc_project.User.Manager"]) |