]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
check for TrouSerS
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 17:26:38 +0000 (18:26 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 17:26:38 +0000 (18:26 +0100)
configure.in

index b6c35703af62629a36b17377a6d653a00144e81b..0eb1175ae8bd2fa15696ff0a3009d4f89f96a032 100644 (file)
@@ -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)