From 6d39da79c85d35e95d3993fa6b8873fccda33bd9 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 28 Mar 2022 14:59:59 +0200 Subject: [PATCH] build: include status of TPM2 in the feature string show by --version --- src/basic/build.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/basic/build.c b/src/basic/build.c index e34d23adeb5..4a15f901d0b 100644 --- a/src/basic/build.c +++ b/src/basic/build.c @@ -160,6 +160,12 @@ const char* const systemd_features = " -QRENCODE" #endif +#if HAVE_TPM2 + " +TPM2" +#else + " -TPM2" +#endif + /* compressors */ #if HAVE_BZIP2 -- 2.47.3