To compile against liblustreapi, we now also need json-c.
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I5e5323c556d1d3bdd4fd6d7f9bc59e33baf59310
Reviewed-on: https://review.whamcloud.com/47263
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Feng, Lei <flei@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
# -------- check for llapi_changelog_in_buf() --------
AC_MSG_CHECKING([Lustre have llapi_changelog_in_buf()])
saved_libs=$LIBS
-LIBS="-llustreapi -llnetconfig"
+LIBS="-llustreapi -llnetconfig -ljson-c"
AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <lustre/lustreapi.h>