Check for libjson

This commit is contained in:
Andreas Steffen 2014-05-26 07:51:44 +02:00
parent 32cb700cd0
commit bee82725eb
1 changed files with 5 additions and 0 deletions

View File

@ -799,6 +799,11 @@ if test x$tss = xtrousers; then
AC_DEFINE([TSS_TROUSERS], [], [use TrouSerS library libtspi as TSS implementation])
fi
if test x$imv_swid = xtrue; then
AC_CHECK_LIB([json],[main],[LIBS="$LIBS"],[AC_MSG_ERROR([JSON library libjson not found])],[])
AC_CHECK_HEADER([json/json.h],,[AC_MSG_ERROR([JSON header json/json.h not found!])])
fi
if test x$dumm = xtrue; then
PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
AC_SUBST(gtk_CFLAGS)