aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-12-18 18:26:38 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-12-18 18:26:38 +0100
commit005d981cc2e5c6247559cd196ee0c5cc4be2a750 (patch)
tree5e1f24096b23babfad220156f071df6cabc47816
parent034b792b90b2c2ebd107b9d285137d40da57fc84 (diff)
downloadstrongswan-005d981cc2e5c6247559cd196ee0c5cc4be2a750.tar.bz2
strongswan-005d981cc2e5c6247559cd196ee0c5cc4be2a750.tar.xz
check for TrouSerS
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
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)