aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2017-10-17 14:04:27 +0200
committerTobias Brunner <tobias@strongswan.org>2017-11-08 16:43:18 +0100
commit63ffcfaa49c375a2dfc195c55ea61ceb8a570651 (patch)
tree9544a9e17cf59619403452101483f08ffa130c14
parent0a6fbe8f7eb577a56e18f98b24ce2e6bd3412386 (diff)
downloadstrongswan-63ffcfaa49c375a2dfc195c55ea61ceb8a570651.tar.bz2
strongswan-63ffcfaa49c375a2dfc195c55ea61ceb8a570651.tar.xz
configure: Fix check for libtpmtss to build it only when needed
Testing for x$tpm always yields true, hence libtpmtss is built even if it is unneeded. Properly test against xtrue as we do in all other tests.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1670b01ac..6bafe5fbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1709,7 +1709,7 @@ AM_CONDITIONAL(USE_LIBNTTFFT, test x$bliss = xtrue -o x$newhope = xtrue)
AM_CONDITIONAL(USE_LIBTNCIF, test x$tnc_tnccs = xtrue -o x$imcv = xtrue)
AM_CONDITIONAL(USE_LIBTNCCS, test x$tnc_tnccs = xtrue)
AM_CONDITIONAL(USE_LIBPTTLS, test x$tnc_tnccs = xtrue)
-AM_CONDITIONAL(USE_LIBTPMTSS, test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm -o x$aikgen = xtrue -o x$imcv = xtrue)
+AM_CONDITIONAL(USE_LIBTPMTSS, test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm = xtrue -o x$aikgen = xtrue -o x$imcv = xtrue)
AM_CONDITIONAL(USE_FILE_CONFIG, test x$stroke = xtrue)
AM_CONDITIONAL(USE_IPSEC_SCRIPT, test x$stroke = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue)
AM_CONDITIONAL(USE_LIBCAP, test x$capabilities = xlibcap)