WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] tools/check: check for yajl (needed by libxl)

To: Ian Campbell <ian.campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tools/check: check for yajl (needed by libxl)
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Fri, 30 Sep 2011 11:35:47 +0100
Cc: Olaf Hering <olaf@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Sep 2011 03:36:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=xvQZltj+mxVl1eim64Dx/ozGlpoaYxRQAKy5xzncWeg=; b=JGCbzUCz2KdAh5OBsdQ79OU4HKUweiHInKM16JeFLzAezvXuz7P/d5crQ6TDZrWvSj Pqfkwteyo/YbWL/+5vuSp3r21VT5j0p34zbrGhnpPsI8J65Cg5LMUvLUYc3lcuCGIBrv W4hVDOMjzgsHhMwFhso+tsaC8uP1NMPMUMZUQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4b98868690218126b906.1317368189@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4b98868690218126b906.1317368189@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Sep 30, 2011 at 08:36, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1317367995 -3600
> # Node ID 4b98868690218126b90620d9b43fdd4140145a43
> # Parent  e50da6b98e3d5933b9c98e8f43096fd3ebbae00d
> tools/check: check for yajl (needed by libxl)
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> ---
> (note to committer, ensure the new file is executable)
>
> diff -r e50da6b98e3d -r 4b9886869021 tools/check/check_yajl_lib
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/tools/check/check_yajl_lib        Fri Sep 30 08:33:15 2011 +0100
> @@ -0,0 +1,7 @@
> +#!/bin/sh
> +# CHECK-BUILD CHECK-INSTALL
> +
> +. ./funcs.sh
> +
> +
> +has_lib libyajl.so || fail "can't find yajl"

You probably want to check the yajl headers as well, no ?
#include <yajl/yajl_parse.h>
#include <yajl/yajl_gen.h>

Regards,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel