]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build: include status of TPM2 in the feature string show by --version
authorFranck Bui <fbui@suse.com>
Mon, 28 Mar 2022 12:59:59 +0000 (14:59 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Mar 2022 20:20:20 +0000 (05:20 +0900)
src/basic/build.c

index e34d23adeb5194e611396183441a75578cc2e0b9..4a15f901d0ba9f8c45cdecb724fd2dbf7dac27e4 100644 (file)
@@ -160,6 +160,12 @@ const char* const systemd_features =
         " -QRENCODE"
 #endif
 
+#if HAVE_TPM2
+        " +TPM2"
+#else
+        " -TPM2"
+#endif
+
         /* compressors */
 
 #if HAVE_BZIP2