summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-02-13 07:43:45 -0800
committerPatrick Venture <venture@google.com>2019-02-13 07:43:45 -0800
commit97898c9056e48d2aa0ec1ec8251377c587b7caee (patch)
tree2a952a4a99968b40e612dd6185e2a0bc74474c23
parent41ccacd93ea458e6e25a4097d22dbfa6ea60d081 (diff)
downloadphosphor-ipmi-blobs-97898c9056e48d2aa0ec1ec8251377c587b7caee.tar.gz
phosphor-ipmi-blobs-97898c9056e48d2aa0ec1ec8251377c587b7caee.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: I420f4702c9cf78af58854fba06e731e49e1ec5f2 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index ebd6a70..6599c9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,12 +22,7 @@ LT_INIT([dlopen disable-static shared]) # Required for systemd linking
LT_LIB_DLLOAD
# Checks for libraries.
-PKG_CHECK_MODULES(
- [PHOSPHOR_LOGGING],
- [phosphor-logging],
- [],
- [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])]
-)
+PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
PKG_CHECK_MODULES(
[LIBIPMID],
[libipmid],
OpenPOWER on IntegriCloud