From nobody Sun Feb 8 01:51:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1621929681; cv=none; d=zohomail.com; s=zohoarc; b=Jkkpp7AUor54eYWA8GoKsDvgvKkc2kQM7dfnb1M01y2jl5h20du05iC+z8+gt8gLiUiEoJUhjUodn401cD8+kdg+vQDmjTpqlMQgAm/1h8uCjgXEOvIaXQvCXearkUKm0JrbuoVjqMcOsf9lnlwfg9VuhlacECi8S6LMO+IOzgQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621929681; h=Content-Type:Content-Transfer-Encoding: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; bh=N+aKWi2VqH/hjadBZ9HeHg4inVhaSSvJv7mCdfGvHPY=; b=MwTh6OxbtjYSeqHdTi3Cc2kKFxDpbH0cfcHQ5i8C6JzwoApSDKZwPxhJBPLXUgdSMRVC5Ay+CfddCsSjeeB5W029a4hkjF7i0Cba+XHbA2fNTsyNwBMK1naU0g1BeOLg48KvsifUopIoV1qa/OLiFpfLg/kavcHuaqjU1IRlMNA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1621929681991371.0728848599895; Tue, 25 May 2021 01:01:21 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-223-Ba7FY1GXPYGdM36XWwt8yg-1; Tue, 25 May 2021 04:01:17 -0400 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 C6A75108C2AD; Tue, 25 May 2021 08:01:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A41BD60BF1; Tue, 25 May 2021 08:01:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6ACDE55342; Tue, 25 May 2021 08:01:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14P80stw021854 for ; Tue, 25 May 2021 04:00:54 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8393018AD4; Tue, 25 May 2021 08:00:54 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.193.112]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01540189C7 for ; Tue, 25 May 2021 08:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621929681; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=N+aKWi2VqH/hjadBZ9HeHg4inVhaSSvJv7mCdfGvHPY=; b=QViD/KVF45XmhuuGYCWn8S9kAgU5wE/gvIgW7TJPQuLfvldY7eeC1eIRIpXAjraYkmUw2d 4hEAUFWj+iu4RyI+sFvb6UNEXipiky6vt2TudR+jM4WgT1iXgHHCF4KIP7H9GN739fA+Dx mQL7KJUjlhjWnK411NyIMIdpMlUu9XY= X-MC-Unique: Ba7FY1GXPYGdM36XWwt8yg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [PATCH RESEND v3 7/8] meson: optional_programs should be used only for building libvirt Date: Tue, 25 May 2021 10:00:46 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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) Content-Type: text/plain; charset="utf-8" Drop code that creates defines with program paths and update the comment to reflect current usage of optional_programs. Signed-off-by: Pavel Hrdina Reviewed-by: Andrea Bolognani --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/meson.build b/meson.build index 8e8d31953d..1c0de2f408 100644 --- a/meson.build +++ b/meson.build @@ -819,7 +819,7 @@ foreach item : required_programs_groups endforeach =20 =20 -# optional programs +# optional programs used while building libvirt =20 optional_programs =3D [ 'augparse', @@ -830,14 +830,6 @@ optional_programs =3D [ foreach name : optional_programs prog =3D find_program(name, required: false, dirs: libvirt_sbin_path) varname =3D name.underscorify() - if prog.found() - prog_path =3D prog.path() - else - prog_path =3D name - endif - - conf.set_quoted(varname.to_upper(), prog_path) - conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog_path) set_variable('@0@_prog'.format(varname), prog) endforeach =20 --=20 2.31.1