From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0118C4361B for ; Thu, 17 Dec 2020 08:51:34 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 050332388A for ; Thu, 17 Dec 2020 08:51:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 050332388A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:52554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpp0W-0005SI-FA for qemu-devel@archiver.kernel.org; Thu, 17 Dec 2020 03:51:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpozE-00048i-G0 for qemu-devel@nongnu.org; Thu, 17 Dec 2020 03:50:12 -0500 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:40708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpozC-00070L-Fz for qemu-devel@nongnu.org; Thu, 17 Dec 2020 03:50:12 -0500 Received: by mail-ej1-x630.google.com with SMTP id x16so36709035ejj.7 for ; Thu, 17 Dec 2020 00:50:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yABgzrIgh18AAhbAFD7vLn70cv4k6N/nxvU8BfZ1dRA=; b=n9V903o9bOeRK4Rd7/u0UcH0bKCsNJTE/oxbZgwDb4uxyKEYvbVrPp5xmZFU5EBo6W K2KEfMQnBG6duAVJS04nUKkhilhb2uOSJiRPZv0P2eifaQYuSUmJM9g9yYGCcs6MphvF 13TPJ1LbK+hUknyxZbZUKNFew04JCSQCrAB/VIuvktEX0sBX2+QsCnRH/FbJUjDXgHMp beIXRvT3EJ4O5+Y4Z5H9dQcCcbU7Lk48ps93FPMhbsTiD1LcFP5R3D9qof/W85WD2hem 6xYXUa22+WQer4l+LdE2qnZf6n/GhQoRFU1fjIaSllfsopvtBA3ltDInmQW/brMS3niz DI1g== 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:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=yABgzrIgh18AAhbAFD7vLn70cv4k6N/nxvU8BfZ1dRA=; b=fQs5vgOeF0M0tNCflf+mH24d4UaGANFww3+AF1Y5JX/gMrXmdKevIXS50qWhusE/C8 3XnD8yBkuAeFhGjl0AZ/xYhxOO6v9riQN3GWacw/rwfz175iid01jSEXBjqSbrdhcooz y5ZuBW9X441gmRYvNQdMsxC/WRL2kyyHVTKZ5HU+kzDJk7qD1LmjTXjUd7tNvuG+Ta+k q0zK0BPtc3Cl8/tYpV69eBDhaNJfa3kcczz0NG3yfLIsXdVmLQoH4mtdAk16kBgukaVD hq0/ZoDvZPR73jTSxlit7AqmjHmz0fxkx9b/j95j+xEjgpK+K3fLc5Hgpv+HlwIFRK0Q 83ig== X-Gm-Message-State: AOAM532UdFXpHzY7hTznnAw5L9ObfeZlMEvX3vUhbxAQYxAsXFEtbQS3 T+jXks177X5rMOIywOusvk3HMlgzPtM= X-Google-Smtp-Source: ABdhPJwAyU2fDaTPHXFzRqKrytNYtkBF8iYoDoinHdD0BTcYYSjq1By6ZaX7Bxv6b4umdokm+U7VTg== X-Received: by 2002:a17:906:814a:: with SMTP id z10mr33426039ejw.96.1608195009195; Thu, 17 Dec 2020 00:50:09 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id dd12sm22949542edb.6.2020.12.17.00.50.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 00:50:08 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 2/4] configure: remove variable bogus_os Date: Thu, 17 Dec 2020 09:50:03 +0100 Message-Id: <20201217085005.10644-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201217085005.10644-1-pbonzini@redhat.com> References: <20201217085005.10644-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=paolo.bonzini@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The condition can be tested also from $targetos, clean up. Signed-off-by: Paolo Bonzini --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure b/configure index 085a5ad7ff..18af8207d9 100755 --- a/configure +++ b/configure @@ -467,7 +467,6 @@ gettext="auto" fuse="auto" fuse_lseek="auto" -bogus_os="no" malloc_trim="auto" # parse CC options second @@ -620,7 +619,6 @@ else # might be going to just print the --help text, or it might # be the result of a missing compiler. targetos='bogus' - bogus_os='yes' fi # Some host OSes need non-standard checks for which CPU to use. @@ -2016,7 +2014,7 @@ if test -z "$werror" ; then fi fi -if test "$bogus_os" = "yes"; then +if test "$targetos" = "bogus"; then # Now that we know that we're not printing the help and that # the compiler works (so the results of the check_defines we used # to identify the OS are reliable), if we didn't recognize the -- 2.29.2