From nobody Sat May 4 21:48:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1515983829396998.8749083626575; Sun, 14 Jan 2018 18:37:09 -0800 (PST) Received: from localhost ([::1]:56901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaue4-0004aC-NX for importer@patchew.org; Sun, 14 Jan 2018 21:37:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaucd-0003kJ-My for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eauca-0002uz-Lt for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:39 -0500 Received: from ozlabs.ru ([107.173.13.209]:52058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eauca-0002sY-FX for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:36 -0500 Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id E81063A60025; Sun, 14 Jan 2018 21:34:48 -0500 (EST) From: Alexey Kardashevskiy To: qemu-devel@nongnu.org Date: Mon, 15 Jan 2018 13:35:01 +1100 Message-Id: <20180115023501.37361-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 107.173.13.209 Subject: [Qemu-devel] [PATCH qemu] configure: Allow capstone=git only if git update is not disabled 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: Alexey Kardashevskiy Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Thomas Huth --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 89bd662..92c21b3 100755 --- a/configure +++ b/configure @@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=3Dsystem - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update =3D 'yes' ; then capstone=3Dgit elif test -e "${source_path}/capstone/Makefile" ; then capstone=3Dinternal --=20 2.11.0