summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-03-26 11:12:39 -0700
committerPatrick Venture <venture@google.com>2019-03-28 11:05:25 -0700
commitd847f50827e6818ba257a119b4595355873bf34b (patch)
tree3a322f4d8d2cddfe8adff743e909ddb7d0f94f0e /configure.ac
parent349a33c1b859636fea78fb746c1984454cdc4cee (diff)
downloadipmi-fru-parser-d847f50827e6818ba257a119b4595355873bf34b.tar.gz
ipmi-fru-parser-d847f50827e6818ba257a119b4595355873bf34b.zip
transition to cli11 instead of custom arg parser
Transition to use cli11 for argument parsing instead of a custom argument parser. Tested: Not tested on hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I9c516c8c2d76e35c6c31592f96e8f281e9d47ad6
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7ee9a75..19da3d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,12 @@ PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221])
PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])
PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
PKG_CHECK_MODULES([LIBIPMID], [libipmid])
+# We need the header only CLI library
+AC_CHECK_HEADERS(
+ [CLI/CLI.hpp],
+ [],
+ [AC_MSG_ERROR([Could not find CLI11 CLI/CLI.hpp])]
+)
# Checks for header files.
AC_CHECK_HEADER(systemd/sd-bus.h, ,[AC_MSG_ERROR([Could not find systemd/sd-bus.h...systemd development package required])])
OpenPOWER on IntegriCloud