aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-24 13:03:15 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-28 11:30:20 +0200
commitaaa37f590d23d35b999e410ed5cf4227c624662b (patch)
tree7bb779b97b7a3156d861653a6d0a4993a1cfcd66
parent6b726b6fb2ee1d8b20c462260ef25200b53235e2 (diff)
downloadstrongswan-aaa37f590d23d35b999e410ed5cf4227c624662b.tar.bz2
strongswan-aaa37f590d23d35b999e410ed5cf4227c624662b.tar.xz
configure: Enable respective TSS if aikgen/-pub2 are enabled
-rw-r--r--configure.ac12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fdae23852..3b9beed56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -457,6 +457,14 @@ if test x$perl_cpan_install = xtrue; then
perl_cpan=true
fi
+if test x$aikgen = xtrue; then
+ tss_trousers=true
+fi
+
+if test x$aikpub2 = xtrue; then
+ tss_tss2=true
+fi
+
# ===========================================
# check required libraries and header files
# ===========================================
@@ -1634,8 +1642,8 @@ AM_CONDITIONAL(USE_SIMAKA, test x$simaka = xtrue)
AM_CONDITIONAL(USE_TLS, test x$tls = xtrue)
AM_CONDITIONAL(USE_RADIUS, test x$radius = xtrue)
AM_CONDITIONAL(USE_IMCV, test x$imcv = xtrue)
-AM_CONDITIONAL(USE_TROUSERS, test x$tss_trousers = xtrue -o x$aikgen = xtrue)
-AM_CONDITIONAL(USE_TSS2, test x$tss_tss2 = xtrue -o x$aikpub2 = xtrue)
+AM_CONDITIONAL(USE_TROUSERS, test x$tss_trousers = xtrue)
+AM_CONDITIONAL(USE_TSS2, test x$tss_tss2 = xtrue)
AM_CONDITIONAL(MONOLITHIC, test x$monolithic = xtrue)
AM_CONDITIONAL(USE_SILENT_RULES, test x$enable_silent_rules = xyes)
AM_CONDITIONAL(COVERAGE, test x$coverage = xtrue)