mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
4c86793cae
commit
080559d289
2 files changed
+14
No files matched your search
Executable
+8
@@ -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"
|
||||
Executable
+6
@@ -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"
|
||||