diff options
author | Patrick Venture <venture@google.com> | 2019-02-12 07:39:02 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-02-13 08:22:49 -0800 |
commit | 97c22e18312482340ea7b016dc1cb26f1f69f605 (patch) | |
tree | 5d0816cdf3da8f49aa99302f4bd99f18aba513c9 | |
parent | 997a7a0820e53222b068c95a9ad492c68bca99f2 (diff) | |
download | phosphor-host-ipmid-97c22e18312482340ea7b016dc1cb26f1f69f605.tar.gz phosphor-host-ipmid-97c22e18312482340ea7b016dc1cb26f1f69f605.zip |
build: check for json header
Check for the json header during configuration.
Change-Id: I704c653e7fd51b756f65a90e541178cf1f19783b
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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],,\ |