From patchwork Sat Feb 15 16:23:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1238582 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=IQvpL9ab; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48KbD662ggz9sP7 for ; Sun, 16 Feb 2020 03:24:04 +1100 (AEDT) Received: from localhost ([::1]:52536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j30Eb-0000jc-GG for incoming@patchwork.ozlabs.org; Sat, 15 Feb 2020 11:24:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48789) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j30EJ-0000jM-CO for qemu-devel@nongnu.org; Sat, 15 Feb 2020 11:23:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j30EH-0004Z9-QT for qemu-devel@nongnu.org; Sat, 15 Feb 2020 11:23:43 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:53455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j30EH-0004YR-It; Sat, 15 Feb 2020 11:23:41 -0500 Received: by mail-wm1-x342.google.com with SMTP id s10so13105428wmh.3; Sat, 15 Feb 2020 08:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SCCdopDbU7XQ4hQfu835spsCeEblh1Woi3AoAzNNFMo=; b=IQvpL9ab/0bZxeCa++wQJYHcTGc/aiUKlrOObOo6suY6Fh7TCxDaAEIaYxPQ96cfNw abnYMgXntn6EXwPjj0D37OF1lPB0PnXtw+QvnPyJxin4G9NDCQxuQm55PCb0nArhp4nf Qb+7sWtbkCrAEd6l4rvr3gnVBw21gnIhnNFZAPxOQroikbX8vzZNFMouIjodELZk8Llr uiWWN5UIRl8V6pxiTb5tikxk9TXZLncyywwBcDXughfvfwC89ehMM0bQKpD0/mNZM1yd Z36t/5oAZR3zA/DeAIKidW0CV3KiSgyuafqOhJTtEn7tOfWZgH3eAPqSjoukU3oh6sYS WgtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=SCCdopDbU7XQ4hQfu835spsCeEblh1Woi3AoAzNNFMo=; b=UKfWIWRNq3t4WaL7UNZ7SrGaL2gkJGjl7ygfSqaNd1Lla3F4DTjjN6ZpdPxHIo4IRO WMleuy6imd+abLW9x1OilwABVgrJ2ubEh/Z4b6ZAlIFQRU6wlFuw1hM0C04BZUe2n0bl 6aX0wfx0qyZMbs8FGDqDA632x3bAPURh0uT32Oi66cjDsAwt5V5jvil6EePRrSh/izLM C7ynaSYbOkDgXaMiK3yZrQWUE4gu1imXuvxMEXyQf7kRFcWbHes+aNntgpEAEsBd4GyD N1knS5DXnIz+FdC2A1ggAoQSd7WBWYHfWAN+hXgZzltkmi7L5jfbECn9nxc0FkwplYF2 gZSA== X-Gm-Message-State: APjAAAVdUKdRo91uLgvz9/IPmfe8M1eQGLG2HXnJqdjAlQn/j1jqQBK1 mUxlhD8RMPFq/AOzQ2zoQ4dlmvcI+4g= X-Google-Smtp-Source: APXvYqye8czUxddrBbwW0UjEXq56E+CusNt+83eeme8iSREsFKleggGUdY38U4DjeVBI1DSLPihsog== X-Received: by 2002:a1c:4d03:: with SMTP id o3mr11116374wmh.164.1581783819640; Sat, 15 Feb 2020 08:23:39 -0800 (PST) Received: from localhost.localdomain (78.red-88-21-202.staticip.rima-tde.net. [88.21.202.78]) by smtp.gmail.com with ESMTPSA id z133sm12592312wmb.7.2020.02.15.08.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 08:23:39 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] configure: Avoid compiling system tools on user build by default Date: Sat, 15 Feb 2020 17:23:37 +0100 Message-Id: <20200215162337.5809-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Laurent Vivier , qemu-block@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" User-mode does not need the sytem tools. Do not build them by default if user specified --disable-system. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 16f94cd96b..557ca4bd04 100755 --- a/configure +++ b/configure @@ -455,7 +455,7 @@ guest_agent_ntddscsi="no" guest_agent_msi="" vss_win32_sdk="" win_sdk="no" -want_tools="yes" +want_tools="" libiscsi="" libnfs="" coroutine="" @@ -2199,6 +2199,15 @@ else echo big/little test failed fi +########################################## +# system tools +if test "$want_tools" != "yes" && test "$softmmu" = "no"; then + want_tools=no +fi +if test -z "$want_tools"; then + want_tools=yes +fi + ########################################## # cocoa implies not SDL or GTK # (the cocoa UI code currently assumes it is always the active UI