From d847f50827e6818ba257a119b4595355873bf34b Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Tue, 26 Mar 2019 11:12:39 -0700 Subject: 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 Change-Id: I9c516c8c2d76e35c6c31592f96e8f281e9d47ad6 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') 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])]) -- cgit v1.2.1