From patchwork Wed Jan 19 17:17:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Bolognani X-Patchwork-Id: 12717683 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C2ABAC433EF for ; Wed, 19 Jan 2022 17:28:34 +0000 (UTC) Received: from localhost ([::1]:60010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAEl7-0007N6-JN for qemu-devel@archiver.kernel.org; Wed, 19 Jan 2022 12:28:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAEbN-0002AO-8C for qemu-devel@nongnu.org; Wed, 19 Jan 2022 12:18:32 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:43379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAEbJ-00005O-SF for qemu-devel@nongnu.org; Wed, 19 Jan 2022 12:18:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642612689; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xtNd4Z32m6BGc0A/Cx3zIFJssO9RhAUW837KIelcV4s=; b=K6Y8oS+QYD7m6lTq87EJbAlu56rU8mXNn6lQDXId59/oul+0a9R7V391qces2Pu3bOzvy6 a6YRFBAM9fKIHNn6KSeGSyTVM1b6ZVJHIEkC7U50HZeYhTraCRm/xn7HVtgBk893BRLVZD Zn9et5e53lLXRAwvtq6i8ywjao+LdcM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-55-EroSibgoOf2gNVNPPrOfFw-1; Wed, 19 Jan 2022 12:18:04 -0500 X-MC-Unique: EroSibgoOf2gNVNPPrOfFw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A6FF51966320; Wed, 19 Jan 2022 17:18:03 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.194.80]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AA15F7EFFE; Wed, 19 Jan 2022 17:18:02 +0000 (UTC) From: Andrea Bolognani To: qemu-devel@nongnu.org Subject: [PATCH 0/3] meson: Don't pass 'method' to dependency() Date: Wed, 19 Jan 2022 18:17:57 +0100 Message-Id: <20220119171800.491703-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=abologna@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.129.124; envelope-from=abologna@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?utf-8?q?Daniel_P=2E_?= =?utf-8?q?Berrang=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" See [1] for recent discussion about libgcrypt specifically, which the first patch is about. After writing that one, I realized that there is no point in explicitly passing 'method' to dependency() because Meson will do the right thing by default - hence the next two patches. [1] https://lists.gnu.org/archive/html/qemu-devel/2022-01/msg01224.html Andrea Bolognani (3): meson: Don't force use of libgcrypt-config meson: Don't pass 'method' to dependency() docs: Don't recommend passing 'method' to dependency() docs/devel/build-system.rst | 1 - meson.build | 75 +++++++++++++++---------------------- tcg/meson.build | 2 +- 3 files changed, 31 insertions(+), 47 deletions(-)