From nobody Wed May 15 15:46:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1648219442; cv=none; d=zohomail.com; s=zohoarc; b=ncVbjyRPNyAMAmDhw+xCXFviuKf56U4U4OslIF8VOBtAgD4O0gN2oN0oowlDLdzkJdlsCRQayQcv0P0XP3DHGRXX+dMOYfdt/9dLIelfUQExx2Y2cVXvIkQMJ5p4ThSsy17mC6RwolbuObMQXHYCVWnESGSpUeUnwizXGTLN7WY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648219442; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Rf8GNeK323NWVe4iyw+HzE+/bLG4/g6syiSsgIdhNx8=; b=a7LgTzm0xJ6i7R7A7ljaHZ5ZM7rCPqFsHu6i7IIQmJCN7111nOsfFArBBrfGk/Hs/HgJlHJtNv45fwBjhLoSFfjtnVIluk7YotRFVvBDoHuofaU/cEvfVKHxrBUyrDzdtnjZhQd3Fe2BU/hnZFp6FIXq8vTmspnmozunZ0XT4Ds= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1648219442060302.9165436717425; Fri, 25 Mar 2022 07:44:02 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-55-9sSwWphKNcqf4PS6PoEwew-1; Fri, 25 Mar 2022 10:43:59 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F245085A5BE; Fri, 25 Mar 2022 14:43:56 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD7E64021D9; Fri, 25 Mar 2022 14:43:56 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B6FEF194034E; Fri, 25 Mar 2022 14:43:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 1F6AB1940341 for ; Fri, 25 Mar 2022 14:43:56 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F2CE440336B; Fri, 25 Mar 2022 14:43:55 +0000 (UTC) Received: from avogadro.redhat.com (unknown [10.39.195.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id 59170401052; Fri, 25 Mar 2022 14:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648219441; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Rf8GNeK323NWVe4iyw+HzE+/bLG4/g6syiSsgIdhNx8=; b=IhlmzhYDnUx96uZAAy803fq8j6c5jWEf16a/7BbwLhRLsu4cSvvFfbaf+BHY4hTs9HGL94 Fdg2IpBfqfwmFgx6q1Mt8fHpqMOa4n4JtyrI2Rd7I6ENiHPep25+LLeMKH+2blNXbsdoqG HffT1l+wRn/XkHcQOYTQll/+kn3cJFQ= X-MC-Unique: 9sSwWphKNcqf4PS6PoEwew-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Paolo Bonzini To: libvirt-list@redhat.com Subject: [PATCH v2] meson: do not look for libparted if not necessary Date: Fri, 25 Mar 2022 15:43:54 +0100 Message-Id: <20220325144354.367171-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mprivozn@redhat.com Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1648219442581100003 Content-Type: text/plain; charset="utf-8"; x-default="true" libparted_dep is not used if -Dstorage_disk=3Ddisabled. Do not bother looking for it if the disk storage backend was not requested. Signed-off-by: Paolo Bonzini --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index eb13c7efa4..27c21d1d67 100644 --- a/meson.build +++ b/meson.build @@ -1013,7 +1013,7 @@ else endif =20 libparted_version =3D '1.8.0' -libparted_dep =3D dependency('libparted', version: '>=3D' + libparted_vers= ion, required: false) +libparted_dep =3D dependency('libparted', version: '>=3D' + libparted_vers= ion, required: get_option('storage_disk')) =20 libpcap_version =3D '1.5.0' if not get_option('libpcap').disabled() --=20 2.35.1