Add a --disable-vnc-tls option so that support for TLS authentication
for the VNC server can be conditionally disabled.
This makes the dependency to gnutls added by the new qemu conditional and
explicit.
Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]>
---
configure | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 8c6d340..f054d12 100755
--- a/configure
+++ b/configure
@@ -5,6 +5,7 @@ kerneldir=/lib/modules/$(uname -r)/build
want_module=1
qemu_cc=$(ls /usr/bin/gcc3* /usr/bin/gcc-3* 2>/dev/null | tail -n1)
enable_alsa=
+disable_vnc_tls=
disable_gcc_check=
usage() {
@@ -18,6 +19,7 @@ usage() {
--kerneldir=DIR kernel build directory ($kerneldir)
--qemu-cc="$qemu_cc" compiler for qemu (needs gcc3.x) ($qemu_cc)
--enable-alsa enable alsa support for qemu
+ --disable-vnc-tls disable vnc tls support for qemu
--disable-gcc-check don't insist on gcc-3.x
- this will break running without kvm
EOF
@@ -55,6 +57,9 @@ while [[ "$1" = -* ]]; do
--enable-alsa)
enable_alsa=1
;;
+ --disable-vnc-tls)
+ disable_vnc_tls=1
+ ;;
--disable-gcc-check)
disable_gcc_check=1
;;
@@ -91,6 +96,7 @@ target_cpu() {
--extra-ldflags="-L $PWD/../user" \
--enable-kvm --kernel-path="$libkvm_kerneldir" \
${enable_alsa:+"--enable-alsa"} \
+ ${disable_vnc_tls:+"--disable-vnc-tls"} \
${disable_gcc_check:+"--disable-gcc-check"} \
--prefix="$prefix"
)
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel