From nobody Sun Feb 8 07:21:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1618600419; cv=none; d=zohomail.com; s=zohoarc; b=cGogDCKLlGT+JLeQ2VND2WmrJ1Uf3kDd7sXgzOcoPjzTQbvlDfII7iCzZ65HJdVjwamcFUqibXmogF/td4KgyiL3ITc0NNi282YQDVksHLadp0Ql5a3ThUySOHfqz8ooTHebzN/7TqxjRnWC92NZaLpYothB3hVI3ApkIvyD2nA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618600419; 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=rhBOPu/0VUf9QW/0VMBrt7+dKXIi8T/QZUWujQ8EeAY=; b=gTjfN+inR+ExG4hbKaVmb5Zw7wdRNpbCitoHwTFG5i/nc0nY1EE3EA+21kl3+0pMx0r+KryAMvm/Xlp6yZdeNaQ/K7zasko3wjP8/HX0aaeIymzqNfIOH1Pu6ees/bolGfOXX02lkIPcU0J7szRxT9/G6HobDuYCwqpI0Ww3jS0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1618600419385835.9450670227948; Fri, 16 Apr 2021 12:13:39 -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-572-4EP_P4JyMGKnfyIJCJrz-Q-1; Fri, 16 Apr 2021 15:13:35 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1A2B98189D7; Fri, 16 Apr 2021 19:13:29 +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 EC1D12953C; Fri, 16 Apr 2021 19:13:28 +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 B72E21806D22; Fri, 16 Apr 2021 19:13:28 +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 13GJDN2Z028472 for ; Fri, 16 Apr 2021 15:13:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id E877C5BAFF; Fri, 16 Apr 2021 19:13:23 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.195.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id 676A75D751 for ; Fri, 16 Apr 2021 19:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618600418; 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=rhBOPu/0VUf9QW/0VMBrt7+dKXIi8T/QZUWujQ8EeAY=; b=UC5KPuX9A15IEr8LMrohULO8JPQb/lFW08dJRZy8NFDgLEzoUmUiXjFyF0bkmGi32dZVYT 5eeaBWkZYref1TQMeaf+7TCnvEHeypTTDcQXX1sJ4VYyIW0RJdGbqZe8245KgxH78AfeOG WqDebjXGiA/kbQqQFKCG6JpH0+AYctU= X-MC-Unique: 4EP_P4JyMGKnfyIJCJrz-Q-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 17/17] meson: optional_programs should be used only for building libvirt Date: Fri, 16 Apr 2021 21:12:46 +0200 Message-Id: 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.14 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 1c27dd030e..7e377fab9c 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