From nobody Sun Feb 8 05:23:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.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 207.211.31.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=1594893667; cv=none; d=zohomail.com; s=zohoarc; b=cOgqmBC1oSTM7rAmlPgCiBwmRG3I5+JMLweQZwwQYXujak186dhYqnv4v8iJJmAuS6ltagnldpsZ6VtuXx+1txUh/hRmhAiTGnKdrXOt5hgcRDNzYGXLIoVS2HO5c8LdsclyHwTMn7CF2HM95MW7xhLOlhZJQeSXEN+cQJWxnBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594893667; 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=pS+VT2EYwjsEZI8/iLu5ogm2+S28uB6YmsqNu2q1HeE=; b=E4YWD/8CEKqXr2LXBvg98+Oc4inWQF4S+6Fu94ALZzIuFpwbWlNoUsYxSe2jFg3ExwmWzUDjWPQxnVc8f8qMXz18LZo9yC4AH36b32susJbt15hy1HGHTaAkXihtu4TDqQYCSzaH8sY+HqBpRaXa0FoVq/5ms6LLr8hAQ3+qSQs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.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 [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594893667309234.70465930270404; Thu, 16 Jul 2020 03:01:07 -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-33-wZ3Zpbb7PiCtoToMqtqfYg-1; Thu, 16 Jul 2020 06:01:02 -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 C94FC80BCB1; Thu, 16 Jul 2020 10:00:56 +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 A69F961982; Thu, 16 Jul 2020 10:00:56 +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 73A1596249; Thu, 16 Jul 2020 10:00:56 +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 06GA0pKh015539 for ; Thu, 16 Jul 2020 06:00:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6914F2DE6F; Thu, 16 Jul 2020 10:00:51 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id D82992DE71 for ; Thu, 16 Jul 2020 10:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594893666; 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=pS+VT2EYwjsEZI8/iLu5ogm2+S28uB6YmsqNu2q1HeE=; b=OVKtLDckjtUeWWg5YLIVGlMn5n/C1pwZsk5pU6xtEuM3bvhW2sZ/mVuzL7Ann3obi4R1bz 9/8x/GZyvT6i3v/axEaxa+7olOPq5UwteoQmOuIsGxRlDu/L/1R/+4Kl6xmnHoGNwsxUmy W5TsJcz3GzlYYjsk81Gg64yH3hEELvE= X-MC-Unique: wZ3Zpbb7PiCtoToMqtqfYg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 030/351] meson: add sizeof check Date: Thu, 16 Jul 2020 11:54:26 +0200 Message-Id: <2d07aad4bb2ef3da076b4f8c5959a3b25f4e1470.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.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" 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 a426ba2a355..b85fa9a9a6f 100644 --- a/configure.ac +++ b/configure.ac @@ -203,8 +203,6 @@ LIBVIRT_CHECK_WIRESHARK LIBVIRT_CHECK_XDR LIBVIRT_CHECK_YAJL =20 -AC_CHECK_SIZEOF([long]) - =20 AC_CHECK_LIB([intl],[gettext],[]) AC_CHECK_LIB([util],[openpty],[]) diff --git a/meson.build b/meson.build index d474745f31e..121022e5f78 100644 --- a/meson.build +++ b/meson.build @@ -854,6 +854,11 @@ foreach member : members endforeach =20 =20 +# check various types sizeof + +conf.set('SIZEOF_LONG', cc.sizeof('long')) + + # define top include directory =20 top_inc_dir =3D include_directories('.') --=20 2.26.2