From nobody Mon Nov 10 19:06:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1558133630; cv=none; d=zoho.com; s=zohoarc; b=KqSYuwbRs8CwRe/bJRQfs394jfkiSRPgQjiTcBqUgVr5Z+l5o59Y982iuTyqoL/PlikPLsy9B2qCX7mDNiW29C/YxsRt4PaFe+8NXu++/YfBbYOU0svI2Mt3VGVeR8r22xVFzCWAJq1gGAejE5Gu2RYcOnyvk+h2Zn3C9YR42G0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558133630; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=hhGYRrDTg0TV6d2VhrzIbknIoq/1n1f5yDRC8WcG6PA=; b=Bq6xkBKj2upi7WJuhetgSfce3NWGpGsI6tWVYXW9ADNzzuwMNBTm5xhchWFeRRZogkLYpKMZgopXWRKKl1DovOOGUgHA3NjqUdFUUKintNt4UKldvZ57nZuK6Myz8kr6K9EcJOhOCiUdOWd3BfjtsQngqpEBJ4pe3wch2E0A2ho= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1558133630228698.2393360068256; Fri, 17 May 2019 15:53:50 -0700 (PDT) Received: from localhost ([127.0.0.1]:54818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRljD-00083x-S0 for importer@patchew.org; Fri, 17 May 2019 18:53:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRlbL-0001Lx-N0 for qemu-devel@nongnu.org; Fri, 17 May 2019 18:45:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRlbK-0005ea-Ow for qemu-devel@nongnu.org; Fri, 17 May 2019 18:45:19 -0400 Received: from mail-yw1-xc33.google.com ([2607:f8b0:4864:20::c33]:34568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRlbK-0005d8-Kc for qemu-devel@nongnu.org; Fri, 17 May 2019 18:45:18 -0400 Received: by mail-yw1-xc33.google.com with SMTP id n76so3367125ywd.1 for ; Fri, 17 May 2019 15:45:18 -0700 (PDT) Received: from dionysus.attlocal.net (69-222-133-165.lightspeed.tukrga.sbcglobal.net. [69.222.133.165]) by smtp.gmail.com with ESMTPSA id u73sm2480260ywf.62.2019.05.17.15.45.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 15:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hhGYRrDTg0TV6d2VhrzIbknIoq/1n1f5yDRC8WcG6PA=; b=UsKESoLN7jGxG8KS7Kq3KCtUsA9sbDZ3dokQ8i/ynROsDFc/h4FwdQLYCMvFfVIDSl 3/qQvruR10kaoWnHuRfPlxOHVPvLaGaA90yL34lwhPrKCOkgMw+/QkfNwhnyAUFj8le6 LqN6gLDJrt3STsoGoZLlmMTdOsl2EPAhML3A/r38xso6v7L3cgckkCYu1u1VST/U+2Z3 k7IxZLsVXJne0nwMx5rNh+rUxsrIXfYPwXzHFUU8WakH6cJfo5TykjyjGVI3N/r+hrB/ +gyorbyGTxCziIFJbCbrhJQ8PNvedivI8erKzGa+gmLOgwOFzl8d1waS6TbmDlxIIRdh 6FRg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=hhGYRrDTg0TV6d2VhrzIbknIoq/1n1f5yDRC8WcG6PA=; b=iyD5+u23j9t32mbBd9ecgYoDlPTVzLpmEDn6AvtZ14FkuyXvSc3cwLUmbN/QeeQnkC WBF2glX3bqxXhqQVVLn8wo80NN+l/uSzk5YVvhRtPoWLWLaClPjotvcY0vRu32912A7j 0qX0ngYseBuFmEDIaGYAoSHBLV3+m8cm7XRVm84PhQPIce/wW1laZqsD/tISEgIkCjMM bS+mmwNhsAnx+S/i1+/Sm6dNbxf3lc5O2ZDS8f5+De1P6aS0s4bAdhrcD16Qa0liYavN 8nL88P80a5uNUzx4TDoF98oGupd/Ro+FbWuOo6qRZiYnkWb/60afUF1y7Z16zDPaG+K2 fEMA== X-Gm-Message-State: APjAAAV5plhG1hl5DKasDpPhWiyVo8f3HD7cmSaB61mpVIMrI74Ca8Ni +JQus/EODS2/IEyHRPqGc8a4HFL57LJdzQ== X-Google-Smtp-Source: APXvYqxadDli5Gt6iPHTuf+iFlOzl76TzYdrHqeDq/Mg8j/8FalIZZ07lCMdP+Zp8lUr8bm4Iza33w== X-Received: by 2002:a81:2f45:: with SMTP id v66mr17907151ywv.491.1558133117853; Fri, 17 May 2019 15:45:17 -0700 (PDT) From: Jan Bobek To: qemu-devel@nongnu.org Date: Fri, 17 May 2019 18:44:47 -0400 Message-Id: <20190517224450.15566-9-jan.bobek@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190517224450.15566-1-jan.bobek@gmail.com> References: <20190517224450.15566-1-jan.bobek@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c33 Subject: [Qemu-devel] [RISU v2 08/11] configure: add i386/x86_64 architectures 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: Jan Bobek , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Now that i386 and x86_64 architectures are supported by RISU, we want to detect them and build RISU for them automatically. Suggested-by: Richard Henderson Signed-off-by: Jan Bobek Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- configure | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 65e1819..ca2d7db 100755 --- a/configure +++ b/configure @@ -48,12 +48,14 @@ EOF } =20 guess_arch() { - if check_define __m68k__ ; then - ARCH=3D"m68k" + if check_define __aarch64__ ; then + ARCH=3D"aarch64" elif check_define __arm__ ; then ARCH=3D"arm" - elif check_define __aarch64__ ; then - ARCH=3D"aarch64" + elif check_define __i386__ || check_define __x86_64__ ; then + ARCH=3D"i386" + elif check_define __m68k__ ; then + ARCH=3D"m68k" elif check_define __powerpc64__ ; then ARCH=3D"ppc64" else --=20 2.20.1