diff options
author | Keir Fraser <keir@xensource.com> | 2007-09-25 10:21:07 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-09-25 10:21:07 +0100 |
commit | e8d029002e258b25957ba992d54a6e434b957add (patch) | |
tree | 18a96640b215a7ab396a64f9144a3e5db4741942 /tools | |
parent | e602447874b3163d222df87774c54f43da396e2a (diff) | |
download | xen-e8d029002e258b25957ba992d54a6e434b957add.tar.gz xen-e8d029002e258b25957ba992d54a6e434b957add.tar.bz2 xen-e8d029002e258b25957ba992d54a6e434b957add.zip |
Fix tools dependency-check scripts for *BSD.
zlib and crypto libs are part of the base system in *BSD.
So no need to check for them on *BSD. This conveniently avoids
executing a non-portable usage of ldconfig.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check/check_crypto_lib | 8 | ||||
-rwxr-xr-x | tools/check/check_zlib_lib | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tools/check/check_crypto_lib b/tools/check/check_crypto_lib index 8002f1d109..4717cca7f9 100755 --- a/tools/check/check_crypto_lib +++ b/tools/check/check_crypto_lib @@ -3,6 +3,14 @@ RC=0 +case $(uname -s) in +FreeBSD|NetBSD|OpenBSD) + exit 0 + ;; +*) + ;; +esac + PATH=/sbin:$PATH set -e ldconfig -p 2>&1 | grep -q libcrypto.so || RC=1 diff --git a/tools/check/check_zlib_lib b/tools/check/check_zlib_lib index 4e7282f618..a4231d606a 100755 --- a/tools/check/check_zlib_lib +++ b/tools/check/check_zlib_lib @@ -3,6 +3,14 @@ RC=0 +case $(uname -s) in +FreeBSD|NetBSD|OpenBSD) + exit 0 + ;; +*) + ;; +esac + PATH=/sbin:$PATH set -e |