Skip to content

Commit

Permalink
configure: add jansson as a dependency check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cmoussa1 committed Aug 28, 2024
1 parent 25be085 commit 90c0b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 90c0b08

Please sign in to comment.