From nobody Tue Feb 10 01:32:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1576854483; cv=none; d=zohomail.com; s=zohoarc; b=GVE7eU2txis7gAlTjScTds1HxTAczIHt57KIgZwk4fsnI5qWr5vgYN4Vs+KllmYeghlZTDfdJ7iBS863vw6UTj5PRz9yu67tfTpNyN7ifBHcLYZxx8aA1yAENVjKcYtvyLVu8DU0QQ67vuKhVLYGb588GEgbZDse2tsgGV+ohO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576854483; h=Content-Type:Content-Transfer-Encoding:Cc: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=C0kI86J5qXZr2ZklxoeRtez0yiJE2SNwMHjProNiKj0=; b=RYYZpA+NP/7VcNNF1hFvDGC1T6BoDacTOcve3pCE3xwLxS226Tz2ekaMTJ3fylaZhKDpVWRgIAzul+IZyiHurgdLqlFqhKToDmM8OS1UttJQmfdApNyNUmkWRDC7hudwCiboH+mDV55khDxAU3SvhY/YMeS+dx5VqAn8gFtvsm4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1576854483499753.8929165775401; Fri, 20 Dec 2019 07:08:03 -0800 (PST) Received: from localhost ([::1]:57748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiJso-0000jN-0J for importer@patchew.org; Fri, 20 Dec 2019 10:08:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46065) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiJrW-0007ol-8Y for qemu-devel@nongnu.org; Fri, 20 Dec 2019 10:06:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiJrV-0000b4-3g for qemu-devel@nongnu.org; Fri, 20 Dec 2019 10:06:42 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:36906 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiJrU-0000aX-Vh for qemu-devel@nongnu.org; Fri, 20 Dec 2019 10:06:41 -0500 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-308-k452NXHUOKONLLHyEhL0fQ-1; Fri, 20 Dec 2019 10:06:38 -0500 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 E47FD1854343; Fri, 20 Dec 2019 15:06:37 +0000 (UTC) Received: from localhost (ovpn-112-54.ams2.redhat.com [10.36.112.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99B5775754; Fri, 20 Dec 2019 15:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576854400; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C0kI86J5qXZr2ZklxoeRtez0yiJE2SNwMHjProNiKj0=; b=eeq4Ug+BKfCNSPGuFxevRWT9ZyjxVzz/JiMKcarNIOCHF6eDT9/yrYbW5eOK6p4IULp3hy Ujh//qy5tt4HIrgZ/FaipLinU6ir9fzqk3ESwY5gbboYtClibROdxrJmViIQxiXdH1F/ih d5mgIAt6kPnIikrbXPrS196BySS/I2Q= From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: peter.maydell@linaro.org, qemu-devel@nongnu.org Subject: [PULL 6/9] configure: add GDBUS_CODEGEN Date: Fri, 20 Dec 2019 19:05:19 +0400 Message-Id: <20191220150522.633032-7-marcandre.lureau@redhat.com> In-Reply-To: <20191220150522.633032-1-marcandre.lureau@redhat.com> References: <20191220150522.633032-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: k452NXHUOKONLLHyEhL0fQ-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: berrange@redhat.com, quintela@redhat.com, mprivozn@redhat.com, dgilbert@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" gdbus-codegen generated code requires gio-unix on Unix, so add it to GIO libs/cflags. Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Daniel P. Berrang=C3=A9 --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index 5723a29070..843faa0d4f 100755 --- a/configure +++ b/configure @@ -3695,10 +3695,16 @@ if $pkg_config --atleast-version=3D$glib_req_ver gi= o-2.0; then gio=3Dyes gio_cflags=3D$($pkg_config --cflags gio-2.0) gio_libs=3D$($pkg_config --libs gio-2.0) + gdbus_codegen=3D$($pkg_config --variable=3Dgdbus_codegen gio-2.0) else gio=3Dno fi =20 +if $pkg_config --atleast-version=3D$glib_req_ver gio-unix-2.0; then + gio_cflags=3D"$gio_cflags $($pkg_config --cflags gio-unix-2.0)" + gio_libs=3D"$gio_libs $($pkg_config --libs gio-unix-2.0)" +fi + # Sanity check that the current size_t matches the # size that glib thinks it should be. This catches # problems on multi-arch where people try to build @@ -6906,6 +6912,7 @@ if test "$gio" =3D "yes" ; then echo "CONFIG_GIO=3Dy" >> $config_host_mak echo "GIO_CFLAGS=3D$gio_cflags" >> $config_host_mak echo "GIO_LIBS=3D$gio_libs" >> $config_host_mak + echo "GDBUS_CODEGEN=3D$gdbus_codegen" >> $config_host_mak fi echo "CONFIG_TLS_PRIORITY=3D\"$tls_priority\"" >> $config_host_mak if test "$gnutls" =3D "yes" ; then --=20 2.24.0.308.g228f53135a