From patchwork Thu Jan 15 21:06:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 43225 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 00BAC240BA for ; Thu, 15 Jan 2015 21:09:06 +0000 (UTC) Received: by mail-we0-f199.google.com with SMTP id k11sf9150095wes.2 for ; Thu, 15 Jan 2015 13:09:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=Mb1TmzLnZ8qPZUolkSrQBFfDpjqdIWNb0YRR1sPPZUY=; b=AajJf0RXvmbHYXeNOQHhlDCcSbcUWW8y9i69scSY9T4FFiAXFvqXtULe6KgNd869qi PLBqb5ymnvBlSavqwu38Z7PqpoI+32KbKeLItKhnxK6tzQJlXFWQOApzHZWeUrQHEUFn wcauL3KPfcB3UP21ktSS4yOV38uiJAV6JS6ESSVBqqx8aXOuUeTT8SsUmadqm4pYrGsE lMyQAIaxbsQazKcshWKmnSyOxCe4Ld80DRJIdfEaYXdJUZvVwyYsroSSvBKaxXzk7WjI 6GCpE71winHrepkz5J3Un1nBAx9xmZCVxcdivZLxRpARKjr3U380DgaBBl0GM2tIo2Kx o+pQ== X-Gm-Message-State: ALoCoQl8tZHrd2pQCPUw2pi60AyB6o6gz8obxbK9WulqMfnPaKOjVJK+369kO0+y6e9pbNv+TAWD X-Received: by 10.180.228.38 with SMTP id sf6mr4592136wic.5.1421356145314; Thu, 15 Jan 2015 13:09:05 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.135 with SMTP id s7ls291532las.33.gmail; Thu, 15 Jan 2015 13:09:05 -0800 (PST) X-Received: by 10.152.6.41 with SMTP id x9mr11953170lax.86.1421356145143; Thu, 15 Jan 2015 13:09:05 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id rd1si2567081lac.70.2015.01.15.13.09.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Jan 2015 13:09:05 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id hs14so15817762lab.8 for ; Thu, 15 Jan 2015 13:09:05 -0800 (PST) X-Received: by 10.152.45.4 with SMTP id i4mr12235411lam.74.1421356145037; Thu, 15 Jan 2015 13:09:05 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp105805lbb; Thu, 15 Jan 2015 13:09:04 -0800 (PST) X-Received: by 10.221.74.81 with SMTP id yv17mr5952473vcb.15.1421356143345; Thu, 15 Jan 2015 13:09:03 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id rv1si411817vcb.5.2015.01.15.13.09.02 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 15 Jan 2015 13:09:03 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YBrdF-0007yr-Fe; Thu, 15 Jan 2015 21:07:09 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YBrdE-0007yV-60 for xen-devel@lists.xenproject.org; Thu, 15 Jan 2015 21:07:08 +0000 Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id A3/40-25276-BFB28B45; Thu, 15 Jan 2015 21:07:07 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-15.tower-21.messagelabs.com!1421356026!21751206!1 X-Originating-IP: [209.85.212.169] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.12.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4385 invoked from network); 15 Jan 2015 21:07:06 -0000 Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by server-15.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 15 Jan 2015 21:07:06 -0000 Received: by mail-wi0-f169.google.com with SMTP id bs8so763887wib.0 for ; Thu, 15 Jan 2015 13:07:06 -0800 (PST) X-Received: by 10.180.21.133 with SMTP id v5mr23052552wie.44.1421356026669; Thu, 15 Jan 2015 13:07:06 -0800 (PST) Received: from chilopoda.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id i3sm3546208wjw.2.2015.01.15.13.07.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jan 2015 13:07:05 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Thu, 15 Jan 2015 21:06:18 +0000 Message-Id: <1421355978-14208-3-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1421355978-14208-1-git-send-email-julien.grall@linaro.org> References: <1421355978-14208-1-git-send-email-julien.grall@linaro.org> Cc: ian.jackson@eu.citrix.com, Julien Grall , wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com Subject: [Xen-devel] [PATCH v2 2/2] tools/configure: Check if pixman is present on the system when building QEMU X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: QEMU upstream requires the use of pixman. When pixman is not present the system, the configure of QEMU will fail with: ERROR: pixman not present. Your options: (1) Preferred: Install the pixman devel package (any recent distro should have packages as Xorg needs pixman too). (2) Fetch the pixman submodule, using: git submodule update --init pixman I think we can use by default the version on the system. So check it a Xen configuration time to avoid a build issue later. Signed-off-by: Julien Grall --- This patch requires to regenerate tools/configure. Changes in v2: - Only check if pixman is present when building QEMU --- tools/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/configure.ac b/tools/configure.ac index 2aff18d..64dc75c 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -323,9 +323,10 @@ esac AX_CHECK_UUID AX_CHECK_CURSES -dnl Glib 2.0 is only required when QEMU is built +dnl Glib 2.0 and pixman are only required when QEMU is built AS_IF([test "x$qemu_xen" = "xy"], [ PKG_CHECK_MODULES(glib, [glib-2.0 >= 2.12]) +PKG_CHECK_MODULES(pixman, pixman-1) ]) AX_CHECK_FETCHER