From patchwork Thu Jan 15 21:06:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 43226 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 185B2240BA for ; Thu, 15 Jan 2015 21:09:10 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id ho1sf38410wib.2 for ; Thu, 15 Jan 2015 13:09:09 -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=hTCBg64jb7FXYZQ7Jez9+ev/IJmEo/MssIAxTy+u/xU=; b=KHj9MMdN4EbApM5bVgHvjn8BwJmehqdG7q+T7IXXs41R4YFc413346FllPTHFYP+Yb XCBqoE5UcRAv3d+GA0A2DJqlj/7Ds3I9ljFszuRUqtCDP39Db7ZdfYG3sLyMFk5nLqEB 7LwgKP6qgjM5N6QCPZc/aCfIcQ9JeQsIzxVLEhwYPEqydIOT1uz2eF0N7sOV5Jofd/g2 O9AHRHbt0pe43FyBCcvDyumFDOAr06ycjnO5maKfTOFBpZYiRAZ7GBj6m+PAag86WsVX nxVSyd5UbGKfvozkMnPnB4uHqZtDAjWEz5iUszmbZjau2yNZB4JIm70989WyrbBok1Qh Nh+Q== X-Gm-Message-State: ALoCoQmGAgAVkfeqkHUInC1Tiiz3OmEtaGmKbysEtdy7oewQST18Fgt8/ihYZ0fNjpFPhgSfYNVd X-Received: by 10.112.9.199 with SMTP id c7mr578172lbb.7.1421356149310; Thu, 15 Jan 2015 13:09:09 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.196 with SMTP id ba4ls296117lab.40.gmail; Thu, 15 Jan 2015 13:09:08 -0800 (PST) X-Received: by 10.152.44.193 with SMTP id g1mr11933865lam.15.1421356148936; Thu, 15 Jan 2015 13:09:08 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id kl8si1150188lbc.86.2015.01.15.13.09.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Jan 2015 13:09:08 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ms9so15809725lab.10 for ; Thu, 15 Jan 2015 13:09:08 -0800 (PST) X-Received: by 10.152.18.135 with SMTP id w7mr11735404lad.47.1421356148480; Thu, 15 Jan 2015 13:09:08 -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 c8csp105821lbb; Thu, 15 Jan 2015 13:09:07 -0800 (PST) X-Received: by 10.224.161.81 with SMTP id q17mr19433606qax.34.1421356145023; Thu, 15 Jan 2015 13:09:05 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id o11si3406500qga.118.2015.01.15.13.09.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 15 Jan 2015 13:09:04 -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-0007yg-4d; 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 1YBrdD-0007yR-UT for xen-devel@lists.xenproject.org; Thu, 15 Jan 2015 21:07:08 +0000 Received: from [85.158.143.35] by server-3.bemta-4.messagelabs.com id 45/84-15461-BFB28B45; Thu, 15 Jan 2015 21:07:07 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-4.tower-21.messagelabs.com!1421356025!21725235!1 X-Originating-IP: [209.85.212.170] 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 18938 invoked from network); 15 Jan 2015 21:07:05 -0000 Received: from mail-wi0-f170.google.com (HELO mail-wi0-f170.google.com) (209.85.212.170) by server-4.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 15 Jan 2015 21:07:05 -0000 Received: by mail-wi0-f170.google.com with SMTP id z2so757923wiv.1 for ; Thu, 15 Jan 2015 13:07:05 -0800 (PST) X-Received: by 10.181.9.107 with SMTP id dr11mr6263652wid.22.1421356025060; Thu, 15 Jan 2015 13:07:05 -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.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jan 2015 13:07:04 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Thu, 15 Jan 2015 21:06:17 +0000 Message-Id: <1421355978-14208-2-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 1/2] tools/configure: Check if Glib is present only 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.51 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: Signed-off-by: Julien Grall --- This patch requires to regenerate tools/configure Changes in v2: - Patch added --- tools/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/configure.ac b/tools/configure.ac index 72e2465..2aff18d 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -322,7 +322,11 @@ i[[3456]]86|x86_64) esac AX_CHECK_UUID AX_CHECK_CURSES + +dnl Glib 2.0 is only required when QEMU is built +AS_IF([test "x$qemu_xen" = "xy"], [ PKG_CHECK_MODULES(glib, [glib-2.0 >= 2.12]) +]) AX_CHECK_FETCHER # Checks for libraries.