Files
xen/tools/check/check_yajl_devel
T
Ian Campbell 080559d289 tools/check: check for yajl (needed by libxl)
We need precisely version 1 so check for .so.1. In the future we should handle
yajl v2 as well.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-10-10 16:49:48 +01:00

9 lines
222 B
Bash
Executable File

#!/bin/sh
# CHECK-BUILD
. ./funcs.sh
has_header yajl/yajl_parse.h || fail "can't find yajl/yajl_parse.h"
has_header yajl/yajl_gen.h || fail "can't find yajl/yajl_gen.h"
has_lib libyajl.so || fail "can't find libyajl.so"