From 005d981cc2e5c6247559cd196ee0c5cc4be2a750 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sun, 18 Dec 2011 18:26:38 +0100 Subject: [PATCH] check for TrouSerS --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index b6c35703a..0eb1175ae 100644 --- a/configure.in +++ b/configure.in @@ -577,6 +577,11 @@ if test x$axis2c = xtrue; then AC_SUBST(axis2c_LIBS) fi +if test x$imc_attestation = xtrue -o x$imv_attestation = xtrue; then + AC_HAVE_LIBRARY([tspi],[LIBS="$LIBS"],[AC_MSG_ERROR([TrouSerS library libtspi not found])]) + AC_CHECK_HEADER([trousers/tss.h],,[AC_MSG_ERROR([TrouSerS header trousers/tss.h not found!])]) +fi + if test x$dumm = xtrue; then PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte]) AC_SUBST(gtk_CFLAGS)