From aaa37f590d23d35b999e410ed5cf4227c624662b Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 24 Jun 2016 13:03:15 +0200 Subject: [PATCH] configure: Enable respective TSS if aikgen/-pub2 are enabled --- configure.ac | 12 ++++++++++-- 1 file 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)