From nobody Sun Feb 8 11:59:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1594894354; cv=none; d=zohomail.com; s=zohoarc; b=LOIvzkvZ6D7V81a5/M4c15y6D9HANBJ0Ic6xumghv8XMo0IRj/5AlYF/cjmi6QbS3W/hb6FmYH3jrQGtHG4OXzS/4VH7UhuVKeLMeqI0K0uX+hqO/oQs6ftQAAroIlg8P6wnzlGWJsTNtBi3lDHPAcOgP0anSklG3scFDxX7iHI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894354; 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=LUYJHcJ3L3eCCp7sBorUYQf+8kW3fXYm8Rs6QJJhoS0=; b=mEjwXdajIPsmZ9lcxh6EZKsw26YOSgSKsozfuzalF4LoXf6c10LoTrbutG433de+LVRRB9sdpeqTDS+u5WlAN5wrWyZW48xmUM3i27ZtmmAhpm+zP5lJOgLFFBof/ohY1BVWFT43Vj3M90eiZEryuiHrHj6OqoFFseOoNe8yGNM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1594894354608502.2540857053567; Thu, 16 Jul 2020 03:12:34 -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-433-Km8ouf9BO6G7kCMNBum6uA-1; Thu, 16 Jul 2020 06:03:05 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 61CDE101440E; Thu, 16 Jul 2020 10:02:37 +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 2BDFD710D7; Thu, 16 Jul 2020 10:02:36 +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 EBB001809547; Thu, 16 Jul 2020 10:02:35 +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 06GA2VGq016471 for ; Thu, 16 Jul 2020 06:02:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id 75D362B6E2; Thu, 16 Jul 2020 10:02:31 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id E44262B6DB for ; Thu, 16 Jul 2020 10:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894353; 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=LUYJHcJ3L3eCCp7sBorUYQf+8kW3fXYm8Rs6QJJhoS0=; b=DEnt3RhVNMQ2fYCQ4w0qAkDqOgAufDBV/mZ9PhqpZj/sN1x4a5TQw2TG3J08XP7VSakLyf EMSU2fXb6lMgtzwCHbe8xrLJU2zIGzUOSnR2NId4Sfjvjfvz8+7lrdWK5L24w6Y/LBDugn tvsKUyVRpxQjtHos1+a4BZxBLk+SKUc= X-MC-Unique: Km8ouf9BO6G7kCMNBum6uA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 074/351] meson: add util build dependency Date: Thu, 16 Jul 2020 11:55:10 +0200 Message-Id: <7779c610812bf989df3c34ee24dbee121a6ae5e2.1594891445.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.15 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" Signed-off-by: Pavel Hrdina --- configure.ac | 2 -- meson.build | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index da4873ea6fd..4d437a54021 100644 --- a/configure.ac +++ b/configure.ac @@ -121,8 +121,6 @@ LIBVIRT_CHECK_XDR LIBVIRT_CHECK_YAJL =20 =20 -AC_CHECK_LIB([util],[openpty],[]) - =20 dnl dnl Virtualization drivers check diff --git a/meson.build b/meson.build index 453522fd79a..fa1236e87b8 100644 --- a/meson.build +++ b/meson.build @@ -1370,6 +1370,11 @@ if udev_dep.found() conf.set('WITH_UDEV', 1) endif =20 +util_dep =3D cc.find_library('util', required: false) +if util_dep.found() + add_project_link_arguments('-lutil', language: 'c') +endif + =20 # generic build dependencies checks =20 --=20 2.26.2