1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
James Bottomley 06c0d7f28f
build: Make TPM2 support conditional
* configure.ac (HAVE_LIBTSS): New acdefine and am_conditional.
* agent/Makefile.am: (gpg_agent_SOURCES): Move tpm files to ...
(gpg_agent_SOURCES) [HAVE_LIBTSS]: ... here.
* agent/agent.h (divert_tpm2_pksign, divert_tpm2_pkdecrypt)
(divert_tpm2_writekey) [!HAVE_LIBTSS]: Add stub functions.

--
This adds a configure stanza to check for the necessary libtss to
support TPM functions.  If found, the library functions will be
dynamically loaded, meaning that a system built with TPM2 support will
still execute correctly (obviously minus TPM2 support) if installed
without libtss being present.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-03-12 10:06:44 +01:00
..
2018-03-12 10:06:44 +01:00
2015-10-28 10:20:17 +01:00
2018-03-09 08:31:17 +01:00
2017-12-08 07:40:06 +01:00
2018-03-09 10:01:59 +01:00
2018-03-09 10:01:59 +01:00
2017-03-07 19:22:48 +09:00