diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-10-10 16:49:48 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-10-10 16:49:48 +0100 |
commit | 080559d289bb3410a148b4cb4a0a4adbdcdf9540 (patch) | |
tree | f29fd3297c1472f70f28745a0285b60dc39e557b /tools/check/check_yajl_devel | |
parent | 4c86793caea3f709c6d953824a9e3b982fd9b403 (diff) | |
download | xen-080559d289bb3410a148b4cb4a0a4adbdcdf9540.tar.gz xen-080559d289bb3410a148b4cb4a0a4adbdcdf9540.tar.bz2 xen-080559d289bb3410a148b4cb4a0a4adbdcdf9540.zip |
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>
Diffstat (limited to 'tools/check/check_yajl_devel')
-rwxr-xr-x | tools/check/check_yajl_devel | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/check/check_yajl_devel b/tools/check/check_yajl_devel new file mode 100755 index 0000000000..b8dac4f767 --- /dev/null +++ b/tools/check/check_yajl_devel @@ -0,0 +1,8 @@ +#!/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" |