From: Franck Bui Date: Mon, 28 Mar 2022 12:59:59 +0000 (+0200) Subject: build: include status of TPM2 in the feature string show by --version X-Git-Tag: v251-rc1~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d39da79c85d35e95d3993fa6b8873fccda33bd9;p=thirdparty%2Fsystemd.git build: include status of TPM2 in the feature string show by --version --- 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