summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-06-16 15:32:47 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-24 20:01:24 +0400
commite91c793cb50b83a695bbbf677ebfff478d8c62f2 (patch)
tree539e5875e24c54471a1cacb32714973604a26b11
parent5d831be27289c244969cbe6a3b87cbc0b44b1532 (diff)
downloadfocaccia-qemu-e91c793cb50b83a695bbbf677ebfff478d8c62f2.tar.gz
focaccia-qemu-e91c793cb50b83a695bbbf677ebfff478d8c62f2.zip
configure: Enable TPM by default, add --disable-tpm
I don't see why tpm is disabled by default: it doesn't have any
external dependencies, or change default behavior. Leaving it disabled
is just going to cause it to bit rot.

Enable it by default, and add a --disable-tpm option.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 9c1471e70f..71029643cc 100755
--- a/configure
+++ b/configure
@@ -330,7 +330,7 @@ virtio_blk_data_plane=""
 gtk=""
 gtkabi=""
 vte=""
-tpm="no"
+tpm="yes"
 libssh2=""
 vhdx=""
 quorum=""
@@ -1105,6 +1105,8 @@ for opt do
   ;;
   --enable-vte) vte="yes"
   ;;
+  --disable-tpm) tpm="no"
+  ;;
   --enable-tpm) tpm="yes"
   ;;
   --disable-libssh2) libssh2="no"
@@ -1382,6 +1384,7 @@ Advanced options (experts only):
   --disable-glusterfs      disable GlusterFS backend
   --enable-gcov            enable test coverage analysis with gcov
   --gcov=GCOV              use specified gcov [$gcov_tool]
+  --disable-tpm            disable TPM support
   --enable-tpm             enable TPM support
   --disable-libssh2        disable ssh block device support
   --enable-libssh2         enable ssh block device support