From: Nikos Mavrogiannopoulos Date: Tue, 1 Dec 2015 09:40:23 +0000 (+0100) Subject: tools: don't compile tpmtool if PKCS11 is disabled X-Git-Tag: gnutls_3_5_0~506 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72db5d6cd47327c48464eb5cdf042eb04abe0398;p=thirdparty%2Fgnutls.git tools: don't compile tpmtool if PKCS11 is disabled That is because GnuTLS' TPM code makes use of the PKCS11 PIN callbacks. --- diff --git a/src/Makefile.am b/src/Makefile.am index b907249c8e..0306af18bd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -66,13 +66,15 @@ if ENABLE_DANE bin_PROGRAMS += danetool endif +noinst_PROGRAMS = systemkey + +if ENABLE_PKCS11 + +# TPM makes use of PKCS #11 callbacks if ENABLE_TROUSERS bin_PROGRAMS += tpmtool endif -noinst_PROGRAMS = systemkey - -if ENABLE_PKCS11 bin_PROGRAMS += p11tool endif