Skip to content

Commit

Permalink
Build: Fix auto-detection of tcti-libtpms
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
  • Loading branch information
Andreas Fuchs committed Sep 29, 2021
1 parent 2064e6c commit 5902fba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ AC_ARG_ENABLE([tcti-libtpms],
[AS_IF([test "x$enable_tcti_libtpms" = "xyes"],
[AC_CHECK_HEADER(libtpms/tpm_library.h, [], [AC_MSG_ERROR([library libtpms missing])])])],
[AC_CHECK_HEADER(libtpms/tpm_library.h, [enable_tcti_libtpms=yes],
[enable_tcti_libtpms=no]
[AC_MSG_WARN([library libtpms missing])])])
AM_CONDITIONAL([ENABLE_TCTI_LIBTPMS], [test "x$enable_tcti_libtpms" != xno])

Expand Down

0 comments on commit 5902fba

Please sign in to comment.