libjansson.m4 revision c5a47e4a809aca39669e26d6136f8056952efd74
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian HeimesAC_SUBST(JANSSON_LIBS)
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian HeimesAC_SUBST(JANSSON_CFLAGS)
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian HeimesPKG_CHECK_MODULES([JANSSON], [jansson], [found_jansson=yes], [found_jansson=no])
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian HeimesSSS_AC_EXPAND_LIB_DIR()
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian HeimesAS_IF([test x"$found_jansson" != xyes],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [AC_CHECK_HEADERS([jansson.h],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [AC_CHECK_LIB([jansson],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [jansson_loads],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [JANSSON_LIBS="-L$sss_extra_libdir -ljansson"],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [AC_MSG_ERROR([libjansson missing jansson_loads])],
f0beb4e313970ffd075cd711ed6cfbac03ad5af6Christian Heimes [-L$sss_extra_libdir -ljanson])],
c5a47e4a809aca39669e26d6136f8056952efd74Lukas Slebodnik [AC_MSG_ERROR([
c5a47e4a809aca39669e26d6136f8056952efd74Lukas SlebodnikYou must have the header file jansson.h installed to build sssd
c5a47e4a809aca39669e26d6136f8056952efd74Lukas Slebodnikwith secrets responder. If you want to build sssd without secret responder
c5a47e4a809aca39669e26d6136f8056952efd74Lukas Slebodnikthen specify --without-secrets when running configure.])])])