From: Martin Willi Date: Tue, 17 Oct 2017 12:04:27 +0000 (+0200) Subject: configure: Fix check for libtpmtss to build it only when needed X-Git-Tag: 5.6.1rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ffcfaa49c375a2dfc195c55ea61ceb8a570651;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/configure.ac b/configure.ac index 1670b01aca..6bafe5fbbf 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)