build: cleanup configure script PKG_CHECK_MODULES
Cleanup the configure script package include lines. There isn't a set
style for this yet, but this is an attempt to improve readability
whereas it's often one long line per library.
Change-Id: I8957b1018d9b2dc1c18e59183e696e2a46aa943e
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index e0104db..03f94ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,9 +21,22 @@
LT_INIT # Required for systemd linking
# Checks for libraries.
-PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus], ,[AC_MSG_ERROR([The openbmc/sdbusplus package is required])])
-PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])])
-AC_CHECK_HEADER([blobs-ipmid], [AC_MSG_ERROR(["phosphor-ipmi-blobs required and not found."])])
+PKG_CHECK_MODULES(
+ [SDBUSPLUS],
+ [sdbusplus],
+ [],
+ [AC_MSG_ERROR([The openbmc/sdbusplus package is required])]
+)
+PKG_CHECK_MODULES(
+ [PHOSPHOR_LOGGING],
+ [phosphor-logging],
+ [],
+ [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])]
+)
+AC_CHECK_HEADER(
+ [blobs-ipmid],
+ [AC_MSG_ERROR(["phosphor-ipmi-blobs required and not found."])]
+)
AX_PTHREAD([], [AC_MSG_ERROR(["pthread required and not found"])])
# Configurability