From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Marcelo Arenas Belon Subject: [PATCH 2/2] vnc-tls configure flag Date: Wed, 17 Oct 2007 11:16:28 -0500 Message-ID: <20071017161628.GD27102@tapir> References: <20071017161133.GB27102@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel Return-path: Content-Disposition: inline In-Reply-To: <20071017161133.GB27102@tapir> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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 --- 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/