From 90c0b08253182743a05a0dd026cd19d360a3833f Mon Sep 17 00:00:00 2001 From: Christopher Moussa Date: Wed, 14 Aug 2024 10:03:53 -0700 Subject: [PATCH] configure: add jansson as a dependency check Problem: flux-accounting does not check for jansson when running ./configure even though it uses it in the priority plugin. Add a check for jansson in configure.ac. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c73ee7fe3..451659302 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ AM_PROG_CC_C_O AX_VALGRIND_H AX_CODE_COVERAGE PKG_CHECK_MODULES([SQLITE], [sqlite3], [], []) +PKG_CHECK_MODULES([JANSSON], [jansson >= 2.10], [], []) if test "$GCC" = yes; then WARNING_CFLAGS="-Wall -Werror -Werror=missing-field-initializers -Wno-error=deprecated-declarations"