Files
xen/tools/check/check_zlib_lib
T
Keir Fraser d352a2fb4d tools/check: Add explicit include path for funcs.sh.
When the current directory is not in $PATH,
then the patch fixes the following errors:

Checking check_brctl: .: funcs.sh: not found
Checking check_crypto_lib: .: funcs.sh: not found
Checking check_curl: .: funcs.sh: not found
Checking check_iproute: .: funcs.sh: not found
Checking check_python: .: funcs.sh: not found
Checking check_python_xml: .: funcs.sh: not found
Checking check_udev: .: funcs.sh: not found
Checking check_xml2: .: funcs.sh: not found
Checking check_zlib_lib: .: funcs.sh: not found

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2008-01-23 11:21:35 +00:00

13 lines
149 B
Bash
Executable File

#!/bin/sh
# CHECK-BUILD CHECK-INSTALL
. ./funcs.sh
case $OS in
FreeBSD|NetBSD|OpenBSD)
exit 0
;;
esac
has_lib libz.so || fail "can't find zlib"