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>
This commit is contained in:
Ian Campbell committed 2011-10-10 16:49:48 +01:00
1 parent 4c86793cae
commit 080559d289
2 files changed
+14

No files matched your search

+8
View File
@@ -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"
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
# CHECK-BUILD CHECK-INSTALL
. ./funcs.sh
has_lib libyajl.so.1 || fail "can't find libyajl.so.1 version 1"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.