From nobody Tue Apr 23 14:54:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1596321893; cv=none; d=zohomail.com; s=zohoarc; b=LB+FCnbN/46f10NNWYn4mV0eaFT6eH/m9D/tVcJEg3YM8QilfBHUz9qFVUnSPoRw4/2MB0js3dkT4GKiYjuRJSJDM7dbatv0J5TFxWW4CcBHul0j8039J4lwqWTBaTKjsDKH1wVjL93yTKnLOzQlHyPR6x8V7DecihvfkzeYK1Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596321893; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Og3/zHh0UM89uAeNOcj10IiFsMigQDC9DurLdzeP7BM=; b=DhcLFvAGjxijj5og1xGyOZD0MlHXIcAVUJeCXLcE7A/tsqp/YvkJRfQFl9Nv6GVLqFTYbc9L51CX6zzt/ag7KUXYVme89VZvwkMNotoReAhQAvwUUDFGQkhbKW1EafGw0xl79qbS/DWCqIJpUPIWAZx03m1whh3vET+LcM17FwU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass 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 1596321893340344.36758324736707; Sat, 1 Aug 2020 15:44:53 -0700 (PDT) Received: from localhost ([::1]:59502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k20FH-00051l-1u for importer@patchew.org; Sat, 01 Aug 2020 18:44:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k20Eh-0004co-Ee for qemu-devel@nongnu.org; Sat, 01 Aug 2020 18:44:15 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:44199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k20Ef-0003Wn-PB for qemu-devel@nongnu.org; Sat, 01 Aug 2020 18:44:15 -0400 Received: by mail-pg1-x544.google.com with SMTP id j19so17881600pgm.11 for ; Sat, 01 Aug 2020 15:44:12 -0700 (PDT) Received: from epyc.localdomain (c-24-6-9-54.hsd1.ca.comcast.net. [24.6.9.54]) by smtp.gmail.com with ESMTPSA id q24sm14851655pgg.3.2020.08.01.15.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Aug 2020 15:44:10 -0700 (PDT) Received: by epyc.localdomain (Postfix, from userid 1000) id 1B84912395; Sat, 1 Aug 2020 22:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Og3/zHh0UM89uAeNOcj10IiFsMigQDC9DurLdzeP7BM=; b=Ob04Td5xQid4Ytlgy20+PUcGo+lCanEf4sGqglPKl9u5abL8ZS/plYctWpKxAAxZHO EmE+TLHVqE3uO5kX+USw1+szDFeJFe9zbdOJuHKBBkQzXjPbw4VX65Em7r74R8tAuVBN 6u/tDs74MgGa9wYc1Ir9I+TDSbnKvGRbPfuzBByyq2eYnm8zICvTL18FQcOFNz2BZtpy LUi/bPInpiANyqnJpJhE3RG7kAvuo4OOMCBqeHOpojcXbvxKCblFQzGIEygR3flYx/Yz MlwdVDPwonT9H+SCUHKDKTnLIswALKbot75/n+HIFp4YlUaFVITcYzfxeWyhii7uHb+p rB0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Og3/zHh0UM89uAeNOcj10IiFsMigQDC9DurLdzeP7BM=; b=fdbM4D0fs6NXHL2QptvIY9rjLR1DFFiqNjkkUOh55k9VgpBhe7iZe/Ay+VPdFujucb 9hz96VSLGl+kwgN6QuMdLc0BAQ3MnkmyyIjzVMNSm8ZHMB1b5UTHnQWqaajmca2sK4Kr uadUK+u+zKNjgW8ZK+BAxE3X8l3pE8TybmbZFeqLFTd63qiqz5AuO7KOxPY8cGbyTz+t CtIQqawfI6BUOuFlgK03pOYLXqFvI2W48CCzsxhwFJZji0GTEy4N5QXb8fH6mx087oq9 gkM/p6M7NshiNL2mByvXE2Sdl/n2B+XcduR2p1EJ2OnucyoxTUUXmn3UdiEtHrWIZ4Z2 DZsQ== X-Gm-Message-State: AOAM530BjSvL+xp8HUrluNI59nn9ZeynfwaWtm1o1hlUyFy62FPWkCDs c3sLQvPXX5DFLYFzCI6GK+E= X-Google-Smtp-Source: ABdhPJxBNayg9l9ntXIBxJ1BY3tj/aEBgBSRTFTLXtygrWfG+KfsBb3RKVXBBdw3eqHpaq7R8wEnWQ== X-Received: by 2002:a63:7357:: with SMTP id d23mr9319617pgn.393.1596321851501; Sat, 01 Aug 2020 15:44:11 -0700 (PDT) From: Rafael Kitover To: qemu-devel@nongnu.org Subject: [PATCH] configure: Require pixman for vhost-user-gpu. Date: Sat, 1 Aug 2020 22:44:06 +0000 Message-Id: <20200801224406.315875-1-rkitover@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=2607:f8b0:4864:20::544; envelope-from=rkitover@gmail.com; helo=mail-pg1-x544.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Rafael Kitover Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" Use the test from Makefile to check if vhost-user-gpu is being built, and if so require pixman. Signed-off-by: Rafael Kitover Reviewed-by: Thomas Huth --- configure | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 2acc4d1465..181b465861 100755 --- a/configure +++ b/configure @@ -4062,20 +4062,6 @@ if test "$modules" =3D yes; then fi fi =20 -########################################## -# pixman support probe - -if test "$softmmu" =3D "no"; then - pixman_cflags=3D - pixman_libs=3D -elif $pkg_config --atleast-version=3D0.21.8 pixman-1 > /dev/null 2>&1; then - pixman_cflags=3D$($pkg_config --cflags pixman-1) - pixman_libs=3D$($pkg_config --libs pixman-1) -else - error_exit "pixman >=3D 0.21.8 not present." \ - "Please install the pixman devel package." -fi - ########################################## # libmpathpersist probe =20 @@ -4491,6 +4477,20 @@ if test "$opengl" =3D "yes" && test "$have_x11" =3D = "yes"; then done fi =20 +########################################## +# pixman support probe + +if test "$softmmu" =3D "no" && ! ( test "${linux} ${virglrenderer} ${gbm} = ${want_tools}" =3D "yes yes yes yes" ); then + pixman_cflags=3D + pixman_libs=3D +elif $pkg_config --atleast-version=3D0.21.8 pixman-1 > /dev/null 2>&1; then + pixman_cflags=3D$($pkg_config --cflags pixman-1) + pixman_libs=3D$($pkg_config --libs pixman-1) +else + error_exit "pixman >=3D 0.21.8 not present." \ + "Please install the pixman devel package." +fi + ########################################## # libxml2 probe if test "$libxml2" !=3D "no" ; then --=20 2.28.0