From patchwork Fri May 10 20:34:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 163953 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp2845878ilr; Fri, 10 May 2019 13:36:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3Aa+7plx25I3gSYLCXT3076TRbnotmYzBdTsr9CtYwHB6+cNhrQlZLIPPad7Mzy4L/LMz X-Received: by 2002:a17:906:391b:: with SMTP id f27mr10315247eje.258.1557520580237; Fri, 10 May 2019 13:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557520580; cv=none; d=google.com; s=arc-20160816; b=vTPvItZO6FelIaiYe9ruGj29dH9NdvRYZ3xLuT2SSwZaXXZN/GRm6ifCrSrt1JWm6K oUrBpiLKG63LmgqMQSzoK49q0L0t8Dswoy+jQgLPkbVvOPaJ6G/hnrPj2uFcgMTDp5fv b+0Wwp1i6OSJrWpEF91dDID65lH6XdlgmJiGFjIUDQHdQgrWS57eavNvHAt5L6QJMcpa U34cOWtjvqnFcCAiLmpvd8CsW7irjp2CWPUZZHuVwerGnvuK4x0hbHMbSUjs+Pf1Oznn nU2bjBmv5SrTFtDo4dibAx5/BeSTOcOpZXdJ4UFZ3IN/oThhSsM4YTiYWTs9TDUia5oX Ns0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=JosXv2iM++VupRQQZOpKOViWnlyN+Vp0+BEQJ7FMmg7VrKtUqT3W57WERqBkhux7yy VmJ4nRPpAycpm4BrTzYFmvag8SQdKTMb7mzKPIEPDhAXeSB9CtCQtJre0Puo81wVR0PB cuuD/wFi8hk+01aVQO59yUy112hRDXvJimoQf/QTcaAQ2mRATwLA3l5BR8ZeYF3H7O6o RqgUIFfVjKJ5HmdwWOwYb0VqkA7Bgk6siwgTc650GCJHjiN0na9eqCpv0BAAItYJyAuB CBSI9SR3eIf+U/TpGkqTc+6ftzH3WPhcAy27LmcRVlH3Szt7FbClB1v9/vBfgOE8rEnT +whg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qB3wHsq5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j5si4357553edd.76.2019.05.10.13.36.20 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 10 May 2019 13:36:20 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qB3wHsq5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:49613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPCFf-00029a-9N for patch@linaro.org; Fri, 10 May 2019 16:36:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPCER-0001MS-9C for qemu-devel@nongnu.org; Fri, 10 May 2019 16:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPCEP-0007Kf-UR for qemu-devel@nongnu.org; Fri, 10 May 2019 16:35:03 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:40932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPCEL-0006yA-HK for qemu-devel@nongnu.org; Fri, 10 May 2019 16:34:58 -0400 Received: by mail-pl1-x644.google.com with SMTP id b3so3336563plr.7 for ; Fri, 10 May 2019 13:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=qB3wHsq5erdNmHHbOpbqLEJ+iTx0bpJVqbYNNslsP0ONg3d/xbGP5AXR3GMB0o9WyG +V3K8iQbZjfJf73VHsfZ69r18E1Tca/QtkVyZwZIP4HsH6luq6oCmYe/VT4AOAW5UC9M FLBoG2GYTXnQFOYD7NzwwGudJFXdoI/YVbSNWiwZRrew+KmmdLqIHMFSgugKe9LRcluJ JjXyhIWXUAeIw7AupJ23V8GChscYGRXWBgb0ZovYNMIE+Jaex/LEHAIIgfVp2kBxUbTo hKb5B/5tsEhjOxHqyXfroYiqKK4Yu8/NmbpFYQCVtxR9QIiRXRUD9tS1O98jjSC7gnaS B90Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=bGLKu49cfnFOdZS4HuKeVNnKCLE33FEFkXy1mMaRiltM9qmi8PokOvTQcABMtOLGvm 4ULSKmpYqHxnT+N1ZYy1JpnLNNLEylT6JLRmLyS7FgfKWACYtVTgc1OXfJRLB5fWZgHd 126NjHAOzWyboqZSNS3fpZaVMKur3nrd0+ylJenUoVoXuJknhUKHXOJglTH8AgQq7l+E MXEnMlNSWv+gfLhf1/yktQ5x9XKkjDTtGTXnOEc4XR+h3+7TRz0OH7+ieOjibQdW/Xwt 7P+KYDuQkysYxj9cN3rmE+qYEExIQyTP2dPH/opZdr5sS9gp4o1w7+ATHH7CuFo5qQUH MDhg== X-Gm-Message-State: APjAAAXCVNXd2x1TkuMGr82XI2U0D1DgZTv6zduqk0UBJbR8h+sAeiCe Rg6kjsPrJc2t0LQsB0xrbAzVRpxzmkg= X-Received: by 2002:a17:902:8e88:: with SMTP id bg8mr15390485plb.173.1557520494550; Fri, 10 May 2019 13:34:54 -0700 (PDT) Received: from localhost.localdomain (97-113-13-231.tukw.qwest.net. [97.113.13.231]) by smtp.gmail.com with ESMTPSA id a129sm7739200pfa.152.2019.05.10.13.34.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2019 13:34:53 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 10 May 2019 13:34:52 -0700 Message-Id: <20190510203452.11870-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH] configure: Disable slirp if --disable-system X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, samuel.thibault@ens-lyon.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" For linux-user, there is no need to add slirp to the set of git modules checked out, nor build it. This also avoids a makefile bug wrt insufficient dependencies on subdir-slirp. If slirp/ is not initially present, the dependencies that check it out are associated with softmmu, which then generates a build error on slirp/ not present. Signed-off-by: Richard Henderson --- configure | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.1 diff --git a/configure b/configure index 63f312bd1f..9de7e43a80 100755 --- a/configure +++ b/configure @@ -5878,6 +5878,10 @@ fi ########################################## # check for slirp +if test "$softmmu" = "no"; then + slirp=no +fi + case "$slirp" in "" | yes) if $pkg_config slirp; then