diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2018-07-23 11:30:02 -0700 |
---|---|---|
committer | Tadeusz Struk <tadeusz.struk@intel.com> | 2018-07-23 14:38:27 -0700 |
commit | 91e7bd65b6ef6a945da76e27bd09d8cfeeb1cbc5 (patch) | |
tree | 072a7470d5a4f913dddbef5ab3d8f2c928027bfa /configure.ac | |
parent | 752117af733474bd59f4506c2ec599e02da66fe3 (diff) | |
download | tpm2-tss-91e7bd65b6ef6a945da76e27bd09d8cfeeb1cbc5.tar.gz |
tcti: fix compilation with --disable-tcti-mssim
Fixes: #1101
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 860ca0e4..3b1994c3 100644 --- a/configure.ac +++ b/configure.ac @@ -178,6 +178,8 @@ AS_IF([test "x$enable_integration" = "xyes"], ERROR_IF_NO_PROG([rm]) PKG_CHECK_MODULES([LIBCRYPTO],[libcrypto]) AC_CHECK_HEADER(uthash.h, [], [AC_MSG_ERROR([Can not find uthash.h. Please install uthash-dev])]) + AS_IF([test "x$enable_tcti_mssim" = xno], + AC_MSG_ERROR([Integration tests can not be enabled without the TCTI_MSSIM module])) AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])]) AM_CONDITIONAL([ENABLE_INTEGRATION],[test "x$enable_integration" = "xyes"]) |