From nobody Sun Feb 8 12:31:58 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=1619008750; cv=none; d=zohomail.com; s=zohoarc; b=FVnNMWyYmjke3+TaOBacHY1Z2e+QHbhWVa75N1wC6atWWuf6C5yiSjL3eTJh468tl0+KFHnzCpypmUfEfG/Xs204iFmAYDjulVysaMvTNV0M6h3BLYmgyDbV5dtwcgAHO8X4RG0obrNtW9pTRV6p4oRVqERng8lrDX30tjGPYcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619008750; 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=F5NkCNyGXu/ZFW4Zl4+s3ZQeEmWg7WhcHt1pZsBsiRgngT7FXJw7/PfIOSmd+oPBeB24IINLrN+KSkvOcsZGiqj89AzrV/sPUNhecp/jO6U7LNQr0u4iF60Em3se16r9si+iseC0eXFqSwVHdXMaHi/V+dvBVFzIcU1SDa3k18o= 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 1619008750450649.7387075239778; Wed, 21 Apr 2021 05:39:10 -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-378-HCZZohB2PvuCPPXVBoHeMg-1; Wed, 21 Apr 2021 08:38:01 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 94D5F343A5; Wed, 21 Apr 2021 12:37:53 +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 6A0C45C230; Wed, 21 Apr 2021 12:37:53 +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 2F82344A63; Wed, 21 Apr 2021 12:37:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13LCbjkZ013680 for ; Wed, 21 Apr 2021 08:37:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id B928D1972B; Wed, 21 Apr 2021 12:37:45 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.195.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id 35D8819D80 for ; Wed, 21 Apr 2021 12:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619008749; 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=J+COeOesnrdPt36wyKld0xSdEr7w8b9XMfRgBasJGxqE75sp2UNawB3OynD45W+q8Hd24b U/nlCnmapd+4EN6LLzXxrLEfck1zx67bB93Jo26TzYLWxVZPoty6yraZhS5BVEzlWLQEcC EeZEXYT5qatFPtL4Nd6oWXnDK8dBaJA= X-MC-Unique: HCZZohB2PvuCPPXVBoHeMg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH v3 7/8] meson: optional_programs should be used only for building libvirt Date: Wed, 21 Apr 2021 14:37:30 +0200 Message-Id: <53c1ab0d39bc2d79426ccd29d98e0faf616ac1af.1619008487.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.16 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