aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2019-01-31 14:30:18 -0800
committerTadeusz Struk <tadeusz.struk@intel.com>2019-02-04 12:10:06 -0800
commit7ab3cbb2553419709c49cfaa4e61fe9dc2b59a8b (patch)
tree8b16a9aa7e18dce9114a22b43ac172f5c2f1a9bd /configure.ac
parent90f094f0a525bbf919d6215daa8af2689e7eb7af (diff)
downloadtpm2-tss-7ab3cbb2553419709c49cfaa4e61fe9dc2b59a8b.tar.gz
build: move TCTI_MSSIM flag from Makefile.am to configure.ac
This way the flag is included in the config.h file instead of being passed in the compile command line, and it makes it consistent with all the other configure flags. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8d973498..ddd5ffeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,8 @@ AC_ARG_ENABLE([tcti-mssim],
[enable_tcti_mssim=$enableval],
[enable_tcti_mssim=yes])
AM_CONDITIONAL([ENABLE_TCTI_MSSIM], [test "x$enable_tcti_mssim" != xno])
+AS_IF([test "x$enable_tcti_mssim" = "xyes"],
+ AC_DEFINE([TCTI_MSSIM],[1], [TCTI FOR MS SIMULATOR]))
#
# udev