From patchwork Wed Jul 31 10:24:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 263669 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 78F6F2C00AF for ; Wed, 31 Jul 2013 20:24:54 +1000 (EST) Received: from localhost ([::1]:60894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4TaO-00087N-Dk for incoming@patchwork.ozlabs.org; Wed, 31 Jul 2013 06:24:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4Ta5-00086b-LD for qemu-devel@nongnu.org; Wed, 31 Jul 2013 06:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4Ta0-0006M7-4p for qemu-devel@nongnu.org; Wed, 31 Jul 2013 06:24:33 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:38048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4TZz-0006Ie-Q3; Wed, 31 Jul 2013 06:24:28 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id A42CC43565; Wed, 31 Jul 2013 14:24:16 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 889FE4C3; Wed, 31 Jul 2013 14:24:16 +0400 (MSK) Received: (nullmailer pid 22242 invoked by uid 1000); Wed, 31 Jul 2013 10:24:16 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2013 14:24:15 +0400 Message-Id: <1375266255-22207-1-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev Subject: [Qemu-devel] [PATCH] qemu-ga: build it even if !system X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Move qemu-ga build check out of if softmmu.. into if tools section. We want to build qemu-ga for _guest_ even if system build isn't done. It is controlled separately using --enable-guest-agent. Signed-off-by: Michael Tokarev --- configure | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure b/configure index f0761ea..0105fd2 100755 --- a/configure +++ b/configure @@ -3430,6 +3430,9 @@ if test "$want_tools" = "yes" ; then tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools" if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then tools="qemu-nbd\$(EXESUF) $tools" + if [ "$guest_agent" = "yes" ]; then + tools="qemu-ga\$(EXESUF) $tools" + fi fi fi if test "$softmmu" = yes ; then @@ -3444,11 +3447,6 @@ if test "$softmmu" = yes ; then virtfs=no fi fi - if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then - if [ "$guest_agent" = "yes" ]; then - tools="qemu-ga\$(EXESUF) $tools" - fi - fi fi # Mac OS X ships with a broken assembler