From nobody Sat Feb 7 06:20:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1618852565; cv=none; d=zohomail.com; s=zohoarc; b=kYUJOu2RlXvMrrYW3ymLt1u7uKGFOFMwL+AIQfcy0eNR6ctcOHaYJ7FBjeZqDBQ8WRlkRBgKNtjZmHrX0cHm5lJKH7K8UKthdC5NAyWs7/9bgLoVKqL8L8iTCAIxj01uA16PIOFzHWnmpJUODCpqb2Maq7z1ICIuI4gLf866Txw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618852565; 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=QB16Y4WOh/VdBPwSf4e5Y8Rb4X6ezCaB2U0itBwnLcI=; b=Og/Fawqq31Nftbf7YVzG3M4+UafH7W6RRl4ElAHnsKM0rhQ7hfTNcjvyQcbRBivxhl5sszwBZGcD1xPSoJUGelbE4mGUUnd/6mPhZoqjk0wJAEv0r78CEgpGJ5euptrkbxUej1cOuSx3vU/9Quigce2Uu/WWWajXHFI+npCq+Z0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1618852565182403.4429759823704; Mon, 19 Apr 2021 10:16:05 -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-564-kHo0uPJnMpCq8P2az_3d_w-1; Mon, 19 Apr 2021 13:15:14 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EC3C483DD21; Mon, 19 Apr 2021 17:15:08 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDE7450A8B; Mon, 19 Apr 2021 17:15:08 +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 95BB31806D20; Mon, 19 Apr 2021 17:15:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13JHEvJ3022068 for ; Mon, 19 Apr 2021 13:14:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id 890FD5D743; Mon, 19 Apr 2021 17:14:57 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.195.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id 09BAD5D742 for ; Mon, 19 Apr 2021 17:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618852563; 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=QB16Y4WOh/VdBPwSf4e5Y8Rb4X6ezCaB2U0itBwnLcI=; b=AomHHw6RwzDSScYd+Tvb0CHvl7V1XYutcixLMRoiKbNKC+Y3aw0Wq+ydOXFqTNjbPA2H5L HfIrRMlzNS/Wl3ND6mrcotpotDoiOKEmOGcEiUoGFjWPezgpUBnq7oSnjqibxP4gBlVqZt 11FBGz8oBDHbUua86EoNRPmlRzISz8w= X-MC-Unique: kHo0uPJnMpCq8P2az_3d_w-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH v2 20/21] meson: optional_programs should be used only for building libvirt Date: Mon, 19 Apr 2021 19:14:23 +0200 Message-Id: <6a9cffcc0fdfc198e24bfbd81b556a332fd170d0.1618851847.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.11 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 --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/meson.build b/meson.build index a7d402cd31..d93f2ff469 100644 --- a/meson.build +++ b/meson.build @@ -922,7 +922,7 @@ foreach item : required_programs_groups endforeach =20 =20 -# optional programs +# optional programs used while building libvirt =20 optional_programs =3D [ 'augparse', @@ -933,14 +933,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.30.2