From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbGkT-0008Cm-Cj for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbGkL-0007zy-JT for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:22 -0400 Received: from [199.232.76.173] (port=39165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbGkL-0007zm-9B for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:17 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbGkK-0004KP-Il for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:16 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGWGcr018333 for ; Wed, 12 Aug 2009 12:32:16 -0400 From: Juan Quintela Date: Wed, 12 Aug 2009 18:29:55 +0200 Message-Id: <6c031bc65374d56aed85be73d7b55c0b51cd1ca5.1250093910.git.quintela@redhat.com> In-Reply-To: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> References: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> In-Reply-To: References: Subject: [Qemu-devel] [PATCH 18/20] Add xen to new feature convention List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- configure | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 9ce51a5..66e4208 100755 --- a/configure +++ b/configure @@ -191,6 +191,7 @@ sdl="" vde="" vnc_tls="" vnc_sasl="" +xen="" gprof="no" debug_tcg="no" @@ -223,7 +224,6 @@ kvm="no" kerneldir="" aix="no" blobs="yes" -xen="yes" pkgversion="" # OS specific @@ -476,6 +476,8 @@ for opt do ;; --disable-xen) xen="no" ;; + --enable-xen) xen="yes" + ;; --disable-brlapi) brlapi="no" ;; --enable-brlapi) brlapi="yes" @@ -660,6 +662,7 @@ echo " --audio-card-list=LIST set list of emulated audio cards [$audio_card_l echo " Available cards: $audio_possible_cards" echo " --enable-mixemu enable mixer emulation" echo " --disable-xen disable xen backend driver support" +echo " --enable-xen enable xen backend driver support" echo " --disable-brlapi disable BrlAPI" echo " --enable-brlapi enable BrlAPI" echo " --disable-vnc-tls disable TLS encryption for VNC server" @@ -898,7 +901,7 @@ fi ########################################## # xen probe -if test "$xen" = "yes" ; then +if test "$xen" != "no" ; then xen_libs="-lxenstore -lxenctrl -lxenguest" cat > $TMPC < @@ -906,9 +909,13 @@ if test "$xen" = "yes" ; then int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } EOF if compile_prog "" "$xen_libs" ; then + xen=yes libs_softmmu="$xen_libs $libs_softmmu" else - xen="no" + if test "$xen" = "yes" ; then + feature_not_found "xen" + fi + xen=no fi fi -- 1.6.2.5