From 97c22e18312482340ea7b016dc1cb26f1f69f605 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Tue, 12 Feb 2019 07:39:02 -0800 Subject: build: check for json header Check for the json header during configuration. Change-Id: I704c653e7fd51b756f65a90e541178cf1f19783b Signed-off-by: Patrick Venture --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9ee45e0..8ad85f2 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could 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([SDBUSPLUS], [sdbusplus],,\ AC_MSG_ERROR(["Requires sdbusplus package."])) +AC_CHECK_HEADER(nlohmann/json.hpp, [], [AC_MSG_ERROR([Could not find nlohmann/json.hpp])]) AS_IF([test "x$enable_softoff" != "xno"], [ PKG_CHECK_MODULES([SDEVENTPLUS], [sdeventplus],,\ -- cgit v1.2.1